From 87124da471529a2d87aa69e6287ec3bc5020ae4c Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 6 Feb 2010 15:51:04 +0000 Subject: [PATCH] fix another typo. this is why i said I dont have a code pattern i like yet --- 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 eac30e6df..cf834112f 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -1549,7 +1549,7 @@ static u32 readreg_POWCNT1(const int size, const u32 adr) { } case 16: case 32: - return readreg_POWCNT1(8,adr)|(readreg_POWCNT1(8,adr)<<8); + return readreg_POWCNT1(8,adr)|(readreg_POWCNT1(8,adr+1)<<8); } assert(false); return 0;