Display message on pause

This commit is contained in:
simon.kagstrom 2010-01-16 09:17:09 +00:00
parent 93ce6f7292
commit 1745a49933

View File

@ -51,6 +51,10 @@ public:
{ {
case 0: case 0:
TheC64->IsPaused() ? TheC64->Resume() : TheC64->Pause(); TheC64->IsPaused() ? TheC64->Resume() : TheC64->Pause();
if (TheC64->IsPaused())
Gui::gui->status_bar->queueMessage("C64 emulation paused");
else
Gui::gui->status_bar->queueMessage("C64 emulation resumed");
this->updatePauseState(); this->updatePauseState();
break; break;
case 2: /* Insert disc */ case 2: /* Insert disc */