diff --git a/source/arm11/open_agb_firm.c b/source/arm11/open_agb_firm.c index 0861e05..a8f238f 100644 --- a/source/arm11/open_agb_firm.c +++ b/source/arm11/open_agb_firm.c @@ -1064,18 +1064,18 @@ Result oafInitAndRun(void) void oafUpdate(void) { - LGY_handleOverrides(); if( detect_cheatKey && (hidGetExtraKeys(0) & KEY_HOME) ) // press home as cheat keys { - u16 *hid_set = (u16*)0x10141112; - u16 *hid_mode = (u16*)0x10141110; - debug_printf("home press: %04x", *hid_mode); + vu16 *hid_set = (vu16*)0x10141112; + vu16 *hid_mode = (vu16*)0x10141110; + debug_printf("home press: %04x\n", *hid_mode); if( *hid_mode == 0 ) { *hid_mode = detect_cheatKey; *hid_set = detect_cheatKey; } } + else LGY_handleOverrides(); waitForEvent(g_frameReadyEvent); }