mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 01:31:49 +01:00
add debug script hotkey
This commit is contained in:
parent
5282696699
commit
566282057a
@ -4157,12 +4157,22 @@ CMenuManager::ProcessButtonPresses(void)
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
if (glfwGetKey(PSGLOBAL(window), GLFW_KEY_D) == GLFW_PRESS) {
|
||||
scriptToLoad = 2;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
#elif defined _WIN32
|
||||
if (GetAsyncKeyState('R') & 0x8000) {
|
||||
scriptToLoad = 1;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
if (GetAsyncKeyState('D') & 0x8000) {
|
||||
scriptToLoad = 2;
|
||||
DoSettingsBeforeStartingAGame();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user