mirror of https://github.com/stella-emu/stella.git
keep up with core changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@979 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
43400e4477
commit
4b6344d513
|
@ -75,8 +75,9 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
|||
case WM_KEYDOWN:
|
||||
if (wParam == VK_F3)
|
||||
{
|
||||
if (rotkeystate == 0)
|
||||
KeySetMode( ((FrameBufferWinCE *) (&(theOSystem->frameBuffer())))->rotatedisplay() );
|
||||
if (rotkeystate == 0 && theOSystem)
|
||||
if (theOSystem->eventHandler().state() == 1)
|
||||
KeySetMode( ((FrameBufferWinCE *) (&(theOSystem->frameBuffer())))->rotatedisplay() );
|
||||
rotkeystate = 1;
|
||||
}
|
||||
else
|
||||
|
@ -237,6 +238,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLin
|
|||
SettingsWinCE theSettings(theOSystem);
|
||||
theOSystem->settings().loadConfig();
|
||||
theOSystem->settings().validate();
|
||||
theOSystem->create();
|
||||
EventHandler theEventHandler(theOSystem);
|
||||
PropertiesSet propertiesSet;
|
||||
propertiesSet.load(theOSystem->systemProperties(), false);
|
||||
|
@ -254,6 +256,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLin
|
|||
CleanUp();
|
||||
return 1;
|
||||
}
|
||||
|
||||
theOSystem->createSound();
|
||||
|
||||
paddlespeed = theSettings.getInt("wce_smartphone_paddlespeed");
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue