From: Shamus Hammons Date: Sat, 1 Dec 2012 21:37:07 +0000 (-0600) Subject: Fixed missing paren in jaguar.cpp :-P X-Git-Tag: 2.1.0~9^2~2 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a4ee955a8a3691150ae62dfa3b805a33c27311;hp=cdc64706c10d3fe005fecff5d000fe60b3980a3b;p=virtualjaguar Fixed missing paren in jaguar.cpp :-P --- diff --git a/src/jaguar.cpp b/src/jaguar.cpp index e80b356..e868b32 100644 --- a/src/jaguar.cpp +++ b/src/jaguar.cpp @@ -376,15 +376,15 @@ CD_switch:: -> $306C WriteLog("\nM68K encountered an illegal instruction at %08X!!!\n\nAborting!\n", m68kPC); uint32 topOfStack = m68k_get_reg(NULL, M68K_REG_A7); WriteLog("M68K: Top of stack: %08X. Stack trace:\n", JaguarReadLong(topOfStack)); - uint32 address = topOfStack - (8 * 4 * 3); + uint32 address = topOfStack - (4 * 4 * 3); for(int i=0; i<10; i++) { WriteLog("%06X:", address); - for(int j=0; j<8; j++) + for(int j=0; j<4; j++) { - WriteLog(" %08X", JaguarReadLong(address); + WriteLog(" %08X", JaguarReadLong(address)); address += 4; }