For now, disable entering menu mode on window minimize, since it

may be causing problems.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2952 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-07-02 11:57:27 +00:00
parent 979417bd00
commit 06e99c8719
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include <cstdlib>
#define STELLA_VERSION "4.0"
#define STELLA_VERSION "4.0_svn"
#define STELLA_BUILD atoi("$Rev$" + 6)
#endif

View File

@ -897,16 +897,18 @@ void EventHandler::handleJoyHatEvent(int stick, int hat, int value)
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void EventHandler::handleSystemEvent(SystemEvent e, int data1, int data2)
void EventHandler::handleSystemEvent(SystemEvent e, int, int)
{
switch(e)
{
case EVENT_WINDOW_EXPOSED:
myOSystem.frameBuffer().refresh();
break;
#if 0
case EVENT_WINDOW_MINIMIZED:
if(myState == S_EMULATE) enterMenuMode(S_MENU);
break;
#endif
default: // handle other events as testing requires
// cerr << "handleSystemEvent: " << e << endl;
break;