From dee24cdbc1ceda178b19b22bb245faef2d8c78a4 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Sat, 25 Aug 2018 11:29:54 -0500 Subject: [PATCH] Print a message when a cheat code forces the JIT to reset. --- desmume/src/cheatSystem.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desmume/src/cheatSystem.cpp b/desmume/src/cheatSystem.cpp index cf1d8ba6e..f6f769b05 100644 --- a/desmume/src/cheatSystem.cpp +++ b/desmume/src/cheatSystem.cpp @@ -1034,7 +1034,10 @@ void CHEATS::process(int targetType) if(cheatsResetJit) { if(CommonSettings.use_jit) - arm_jit_reset(true,true); + { + printf("Cheat code operation potentially not compatible with JIT operations. Resetting JIT...\n"); + arm_jit_reset(true, true); + } } #endif }