From 961a467f92efbc3016cd6cb8b5a2d96d996439a9 Mon Sep 17 00:00:00 2001 From: hi-coder Date: Wed, 11 May 2011 02:36:43 +0000 Subject: [PATCH] win32: add "paused" text to caption --- desmume/src/windows/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 355c2a922..cef4da54c 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1986,6 +1986,7 @@ void NDS_Pause(bool showMsg) while (!paused) {} if (showMsg) INFO("Emulation paused\n"); + SetWindowText(MainWindow->getHWnd(), "Paused"); MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PLAY); } } @@ -2000,6 +2001,7 @@ void NDS_UnPause(bool showMsg) SPU_Pause(0); if (showMsg) INFO("Emulation unpaused\n"); + SetWindowText(MainWindow->getHWnd(), (char*)EMU_DESMUME_NAME_AND_VERSION()); MainWindowToolbar->ChangeButtonBitmap(IDM_PAUSE, IDB_PAUSE); } }