typo in comment

This commit is contained in:
normmatt234 2009-04-05 22:51:22 +00:00
parent df915330e7
commit 568682a3f0
1 changed files with 1 additions and 1 deletions

View File

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