Skip to content

Commit

Permalink
Disable X button press to patch SRL received via DLP
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 25, 2023
1 parent 25600e5 commit 223ff26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retail/cardenginei/arm7/source/cardengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -1604,14 +1604,14 @@ void myIrqHandlerVBlank(void) {
i2cWriteRegister(0x4A, 0x11, 0x01); // Reboot into error screen if SD card is removed
}

#ifndef TWLSDK
/* #ifndef TWLSDK
if (valueBits & isDlp) {
if (!(REG_EXTKEYINPUT & KEY_A) && *(u32*)(NDS_HEADER_SDK5+0xC) != 0 && !wifiIrq) {
IPC_SendSync(0x5);
reset();
}
}
#endif
#endif */

if ((0 == (REG_KEYINPUT & igmHotkey) && 0 == (REG_EXTKEYINPUT & (((igmHotkey >> 10) & 3) | ((igmHotkey >> 6) & 0xC0))) && (valueBits & igmAccessible) && !wifiIrq) || returnToMenu || sharedAddr[5] == 0x4C4D4749 /* IGML */) {
#ifdef TWLSDK
Expand Down

0 comments on commit 223ff26

Please sign in to comment.