win32: add "paused" text to caption

This commit is contained in:
hi-coder 2011-05-11 02:36:43 +00:00
parent b1e92e6cb0
commit 961a467f92
1 changed files with 2 additions and 0 deletions

View File

@ -1986,6 +1986,7 @@ void NDS_Pause(bool showMsg)
while (!paused) {} while (!paused) {}
if (showMsg) INFO("Emulation paused\n"); if (showMsg) INFO("Emulation paused\n");
SetWindowText(MainWindow->getHWnd(), "Paused");
MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PLAY); MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PLAY);
} }
} }
@ -2000,6 +2001,7 @@ void NDS_UnPause(bool showMsg)
SPU_Pause(0); SPU_Pause(0);
if (showMsg) INFO("Emulation unpaused\n"); if (showMsg) INFO("Emulation unpaused\n");
SetWindowText(MainWindow->getHWnd(), (char*)EMU_DESMUME_NAME_AND_VERSION());
MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PAUSE); MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PAUSE);
} }
} }