mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Fix symbol map loading, Qt fullscreen build
This commit is contained in:
1 parent
81444c92a1
commit
bb939321bc
11 files changed
+629
-19
No files matched your search
+7
-8
@@ -43,6 +43,8 @@ recursive_mutex m_hInactiveMutex;
|
||||
|
||||
#ifdef _WIN32
|
||||
InputState input_state;
|
||||
#else
|
||||
extern InputState input_state;
|
||||
#endif
|
||||
|
||||
void Core_ErrorPause()
|
||||
@@ -50,11 +52,6 @@ void Core_ErrorPause()
|
||||
Core_UpdateState(CORE_ERROR);
|
||||
}
|
||||
|
||||
void Core_Pause()
|
||||
{
|
||||
Core_EnableStepping(true);
|
||||
}
|
||||
|
||||
void Core_Halt(const char *msg)
|
||||
{
|
||||
Core_EnableStepping(true);
|
||||
@@ -100,7 +97,6 @@ void UpdateScreenScale() {
|
||||
pixel_in_dps = (float)pixel_xres / dp_xres;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
void Core_RunLoop()
|
||||
{
|
||||
while (!coreState) {
|
||||
@@ -109,19 +105,24 @@ void Core_RunLoop()
|
||||
{
|
||||
{
|
||||
lock_guard guard(input_state.lock);
|
||||
#ifdef _WIN32
|
||||
// Temporary hack.
|
||||
if (GetAsyncKeyState(VK_ESCAPE)) {
|
||||
input_state.pad_buttons |= PAD_BUTTON_MENU;
|
||||
} else {
|
||||
input_state.pad_buttons &= ~PAD_BUTTON_MENU;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
NativeUpdate(input_state);
|
||||
}
|
||||
NativeRender();
|
||||
// Simple throttling to not burn the GPU in the menu.
|
||||
#ifdef _WIN32
|
||||
if (globalUIState != UISTATE_INGAME)
|
||||
Sleep(15);
|
||||
GL_SwapBuffers();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -208,8 +209,6 @@ reswitch:
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
void Core_EnableStepping(bool step)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user