From 568682a3f07f8f311980f6cbee1eda8c7a2eec13 Mon Sep 17 00:00:00 2001 From: normmatt234 Date: Sun, 5 Apr 2009 22:51:22 +0000 Subject: [PATCH] typo in comment --- desmume/src/MMU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index 12300cc77..85114b156 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -3121,7 +3121,7 @@ u32 FASTCALL _MMU_ARM9_read32(u32 adr) case 0xB7: { /* TODO: prevent read if the address is out of range */ - /* Make sure any reads below 0x8000 redirect to 0x8000+(adr%0x1FF) as on real cart */ + /* Make sure any reads below 0x8000 redirect to 0x8000+(adr&0x1FF) as on real cart */ if(MMU.dscard[ARMCPU_ARM9].address < 0x8000) { MMU.dscard[ARMCPU_ARM9].address = (0x8000 + (MMU.dscard[ARMCPU_ARM9].address&0x1FF));