From 91d2e0e596ef8580214146ff686a3047cfdcfb3b Mon Sep 17 00:00:00 2001 From: normmatt234 Date: Thu, 7 Jul 2011 04:20:17 +0000 Subject: [PATCH] opps typo. --- desmume/src/addons/slot1_retail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/addons/slot1_retail.cpp b/desmume/src/addons/slot1_retail.cpp index 339f7d2d7..8fb6cea36 100644 --- a/desmume/src/addons/slot1_retail.cpp +++ b/desmume/src/addons/slot1_retail.cpp @@ -122,7 +122,7 @@ static u32 read32_GCDATAIN(u8 PROCNUM) //INFO("Read below 0x8000 (0x%04X) from: ARM%s %08X\n", // card.address, (PROCNUM ? "7":"9"), (PROCNUM ? NDS_ARM7:NDS_ARM9).instruct_adr); - address = (0x8000 + (card.address&0x1FF)); + address = (0x8000 + (address&0x1FF)); } //as a sanity measure for funny-sized roms (homebrew and perhaps truncated retail roms)