From d434b0b7e57e27f6233879cca5506642a2479b30 Mon Sep 17 00:00:00 2001 From: normmatt234 Date: Thu, 28 Mar 2013 15:44:01 +0000 Subject: [PATCH] opps forgot to change change the unaligned 16bit rotate to check against old address. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1174 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/gba/GBAinline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/GBAinline.h b/src/gba/GBAinline.h index 4e668396..9ef71d73 100644 --- a/src/gba/GBAinline.h +++ b/src/gba/GBAinline.h @@ -294,7 +294,7 @@ unreadable: break; } - if(address & 1) { + if(oldAddress & 1) { value = (value >> 8) | (value << 24); }