mirror of https://github.com/stella-emu/stella.git
all devices now can display the in-emulation menu, so drop to that always when losing focus (aka pause mode)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1310 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
33d4d57a02
commit
a5a545fcbf
|
@ -14,7 +14,7 @@
|
|||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// Windows CE Port by Kostas Nakos
|
||||
// $Id: PocketStella.cpp,v 1.9 2007-01-23 09:44:55 knakos Exp $
|
||||
// $Id: PocketStella.cpp,v 1.10 2007-01-27 10:50:14 knakos Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <queue>
|
||||
|
@ -117,9 +117,7 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
|||
case WM_HIBERNATE:
|
||||
GXSuspend();
|
||||
if (theOSystem)
|
||||
if (((FrameBufferWinCE &)theOSystem->frameBuffer()).IsSmartphoneLowRes())
|
||||
theOSystem->eventHandler().handleEvent(Event::LauncherMode, theOSystem->eventHandler().state());
|
||||
else
|
||||
if (theOSystem->eventHandler().state() == EventHandler::S_EMULATE)
|
||||
theOSystem->eventHandler().enterMenuMode(EventHandler::S_MENU);
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue