From f9d46aa66f68d4b56c7112077f1fc7e3569636b6 Mon Sep 17 00:00:00 2001 From: Nach Date: Sat, 1 Dec 2007 22:38:48 +0000 Subject: [PATCH] Fixed some issues. --- src/GBA-arm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GBA-arm.cpp b/src/GBA-arm.cpp index 5199ff05..7d7193e7 100644 --- a/src/GBA-arm.cpp +++ b/src/GBA-arm.cpp @@ -1564,7 +1564,9 @@ static INSN_REGPARM void arm121(u32 opcode) LDRSTR_INIT(CALC_OFFSET, CALC_ADDRESS); \ LOAD_DATA; \ if (dest != base) \ + { \ WRITEBACK; \ + } \ clockTicks = 0; \ if (dest == 15) { \ reg[15].I &= 0xFFFFFFFC; \ @@ -2858,7 +2860,7 @@ static void tester(void) { int i;for(i=0;i