fixed a freeze on emu shutdown in windows build

This commit is contained in:
nitsuja
2011-12-19 15:13:26 -08:00
parent 567e90bbd5
commit 3e773f093d
5 changed files with 38 additions and 6 deletions

View File

@ -78,7 +78,7 @@ void VideoBackend::UpdateFPSDisplay(const char *text)
{
TCHAR temp[512];
swprintf_s(temp, sizeof(temp)/sizeof(TCHAR), _T("%hs | DX9 | %hs"), scm_rev_str, text);
SetWindowText(EmuWindow::GetWnd(), temp);
EmuWindow::SetWindowText(temp);
}
std::string VideoBackend::GetName()