From a3bc1cd1ccd445c4be5c3e62c19857179f133363 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 12 Mar 2010 14:33:58 +0000 Subject: [PATCH] Make acl_check_access static and comment a variabile which is used only in commented code. --- desmume/src/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/debug.cpp b/desmume/src/debug.cpp index b22eea789..934f43742 100644 --- a/desmume/src/debug.cpp +++ b/desmume/src/debug.cpp @@ -40,7 +40,7 @@ u32 debugFlag; //DEBUG CONFIGURATION const bool debug_acl = false; -bool acl_check_access(u32 adr, u32 access) { +static bool acl_check_access(u32 adr, u32 access) { //tweak the access value with the execution mode. //user code is USR and every other mode is SYS. //this is weird logic, but I didn't want to change.. @@ -78,8 +78,8 @@ void HandleDebugEvent_Write() void HandleDebugEvent_Execute() { - extern bool nds_debug_continuing[2]; //HACKY BREAKPOINTS! + //extern bool nds_debug_continuing[2]; //if(!nds_debug_continuing[DebugEventData.procnum]) //dont keep hitting the same breakpoint //{ // if((DebugEventData.addr & 0xFFFFFFF0) == 0x02000000)