mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
parent
e7e800d44f
commit
3cbbd53850
@ -145,7 +145,7 @@ u32 InputWait(u32 timeout_sec) {
|
|||||||
do {
|
do {
|
||||||
u32 newpad = HID_ReadState();
|
u32 newpad = HID_ReadState();
|
||||||
|
|
||||||
if (!(newpad & BUTTON_ANY)) { // no buttons pressed, check for I/O changes instead
|
if (!(newpad & ~(SHELL_OPEN|SHELL_CLOSED))) { // no buttons pressed, check for I/O changes instead
|
||||||
u32 state = CART_STATE;
|
u32 state = CART_STATE;
|
||||||
if (state != oldcart)
|
if (state != oldcart)
|
||||||
return state ? CART_INSERT : CART_EJECT;
|
return state ? CART_INSERT : CART_EJECT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user