More work on control

This commit is contained in:
Henrik Rydgard committed 2013-03-31 00:39:58 +01:00
1 parent afa21588d7
commit 634e324975
7 files changed
+46 -43

No files matched your search

+2 -2
View File
@@ -112,13 +112,13 @@ void Core_RunLoop()
// Temporary hack.
if (GetAsyncKeyState(VK_ESCAPE)) {
input_state.pad_buttons |= PAD_BUTTON_MENU;
} else {
input_state.pad_buttons &= ~PAD_BUTTON_MENU;
}
host->PollControllers(input_state);
UpdateInputState(&input_state);
#endif
}
NativeUpdate(input_state);
EndInputState(&input_state);
}
NativeRender();
// Simple throttling to not burn the GPU in the menu.