]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix tester compilation.
authorToni Wilen <twilen@winuae.net>
Sat, 4 Jan 2020 14:13:58 +0000 (16:13 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 4 Jan 2020 14:13:58 +0000 (16:13 +0200)
cputest.cpp
cputest_support.cpp

index f7641e94cd4bead892fd18d338cf426ad9bb86b8..0027b52225c8c1076c9f5b12b3a33ed0beacd5f9 100644 (file)
@@ -919,11 +919,11 @@ uae_u32 REGPARAM2 op_illg(uae_u32 opcode)
        return op_illg_1(opcode);
 }
 
-void exception2_fetch(uae_u32 opcode, uaecptr addr)
+void exception2_fetch(uae_u32 opcode, int offset)
 {
        test_exception = 2;
        test_exception_3_w = 0;
-       test_exception_addr = addr;
+       test_exception_addr = m68k_getpci() + offset;
        test_exception_opcode = opcode;
        test_exception_3_fc = 2;
        test_exception_3_size = 1;
index bce2b91df865bcebd34ee31d6a75c6d5f657f91d..50ebdbe571c9b725c688e52105d9fb9d831e5bef 100644 (file)
@@ -113,7 +113,7 @@ void mmu_op(uae_u32 opcode, uae_u32 extra)
 
 uae_u16 mmu030_state[3];
 int mmu030_opcode;
-int mmu030_idx;
+int mmu030_idx, mmu030_idx_done;
 uae_u32 mmu030_disp_store[2];
 uae_u32 mmu030_fmovem_store[2];
 uae_u32 mm030_stageb_address;