mirror of https://github.com/stella-emu/stella.git
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:
parent
979417bd00
commit
06e99c8719
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <cstdlib>
|
||||
|
||||
#define STELLA_VERSION "4.0"
|
||||
#define STELLA_VERSION "4.0_svn"
|
||||
#define STELLA_BUILD atoi("$Rev$" + 6)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue