Make acl_check_access static and comment a variabile which

is used only in commented code.
This commit is contained in:
riccardom 2010-03-12 14:33:58 +00:00
parent 3f3158c3c0
commit a3bc1cd1cc
1 changed files with 2 additions and 2 deletions

View File

@ -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)