mirror of
https://github.com/blawar/ooot.git
synced 2024-07-04 18:13:37 +00:00
F5 opens the debug level select screen (#106)
* F5 opens the debug level select screen * Update keyboard.cpp
This commit is contained in:
parent
bd6863e5de
commit
2c947b344e
|
@ -310,6 +310,12 @@ namespace sm64::hid
|
|||
}
|
||||
}
|
||||
|
||||
//When F5 is pressed. Mark all dpad button as pressed. Used to open map select
|
||||
if (state[SDL_SCANCODE_F5] && (m_lastKeyState[SDL_SCANCODE_F5] ^ state[SDL_SCANCODE_F5]))
|
||||
{
|
||||
m_state.button |= U_JPAD | D_JPAD | L_JPAD | R_JPAD;
|
||||
}
|
||||
|
||||
if (hid::isTasPlaying())
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user