]> Shamusworld >> Repos - virtualjaguar/commitdiff
Fixed missing paren in jaguar.cpp :-P
authorShamus Hammons <jlhamm@acm.org>
Sat, 1 Dec 2012 21:37:07 +0000 (15:37 -0600)
committerShamus Hammons <jlhamm@acm.org>
Sat, 1 Dec 2012 21:37:07 +0000 (15:37 -0600)
src/jaguar.cpp

index e80b356b199edbe6567e83da278923c957c429bb..e868b32e59ca13b367ab207f297e0cf713fc6a8a 100644 (file)
@@ -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;
                        }