1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-02 09:03:36 +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:
GreenSwede 2022-02-10 19:46:46 +01:00 committed by GitHub
parent bd6863e5de
commit 2c947b344e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;