diff --git a/src/tcp_gecko.cpp b/src/tcp_gecko.cpp index e63ae45..5e45f8e 100644 --- a/src/tcp_gecko.cpp +++ b/src/tcp_gecko.cpp @@ -1503,7 +1503,6 @@ static int startTCPGeckoThread(int argc, void *argv) { // Execute the code handler if it is installed if (isCodeHandlerInstalled) { - considerApplyingSDCheats(); log_print("Code handler installed...\n"); void (*codeHandlerFunction)() = (void (*)()) CODE_HANDLER_INSTALL_ADDRESS; @@ -1518,6 +1517,8 @@ static int startTCPGeckoThread(int argc, void *argv) { if (assemblySize > 0) { executeAssembly(); } + + considerApplyingSDCheats(); } } else { log_print("Code handler not installed...\n"); diff --git a/tcpgecko.elf b/tcpgecko.elf index 6a79b43..9160e5b 100644 Binary files a/tcpgecko.elf and b/tcpgecko.elf differ