fixed a freeze on emu shutdown in windows build
This commit is contained in:
1 parent
567e90bbd5
commit
3e773f093d
5 files changed
+38
-6
No files matched your search
@@ -68,9 +68,9 @@ unsigned int VideoBackend::PeekMessages()
|
||||
|
||||
void VideoBackend::UpdateFPSDisplay(const char *text)
|
||||
{
|
||||
char temp[512];
|
||||
sprintf_s(temp, sizeof temp, "%s | DX11 | %s", scm_rev_str, text);
|
||||
SetWindowTextA(EmuWindow::GetWnd(), temp);
|
||||
TCHAR temp[512];
|
||||
swprintf_s(temp, sizeof(temp)/sizeof(TCHAR), _T("%hs | DX11 | %hs"), scm_rev_str, text);
|
||||
EmuWindow::SetWindowText(temp);
|
||||
}
|
||||
|
||||
std::string VideoBackend::GetName()
|
||||
|
||||
Reference in new issue
Block a user