From 4a494a8ddfe7f10ed0589bafd8a75b7767de6824 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Thu, 28 Mar 2013 16:27:13 +0000 Subject: [PATCH] apply 1176 to bgklink git-svn-id: https://svn.code.sf.net/p/vbam/code/branches/bgk-link@1177 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/gba/GBAinline.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gba/GBAinline.h b/src/gba/GBAinline.h index 9ef71d73..fa7d0d38 100644 --- a/src/gba/GBAinline.h +++ b/src/gba/GBAinline.h @@ -149,9 +149,8 @@ unreadable: break; } - if(address & 3) { + if(oldAddress & 3) { #ifdef C_CORE - int shift = (address & 3) << 3; value = (value >> shift) | (value << (32 - shift)); #else #ifdef __GNUC__