]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
newcpu: declaration fixes and remove unused m68kpc function
authorFrode Solheim <frode@fs-uae.net>
Wed, 16 Jul 2025 16:26:44 +0000 (18:26 +0200)
committerFrode Solheim <frode@fs-uae.net>
Wed, 16 Jul 2025 16:26:44 +0000 (18:26 +0200)
include/newcpu.h
jit/compemu_support.cpp
newcpu.cpp

index 4de33d80eee83d6da09dd6b5f561748c5a7102a2..9a1888c1295971f96e19b87779b32c2aa77cbfcd 100644 (file)
@@ -99,7 +99,9 @@ extern cpuop_func *loop_mode_table[];
 
 extern uae_u32 REGPARAM3 op_illg(uae_u32) REGPARAM;
 extern void REGPARAM3 op_illg_noret(uae_u32) REGPARAM;
+void REGPARAM3 op_illg_1_noret(uae_u32 opcode) REGPARAM;
 extern void REGPARAM3 op_unimpl(uae_u32) REGPARAM;
+void REGPARAM3 op_unimpl_1_noret(uae_u32 opcode) REGPARAM;
 
 typedef uae_u8 flagtype;
 
@@ -895,4 +897,7 @@ extern bool can_cpu_tracer (void);
 uae_u32 process_cpu_indirect_memory_read(uae_u32 addr, int size);
 void process_cpu_indirect_memory_write(uae_u32 addr, uae_u32 data, int size);
 
+const struct cputbl *uaegetjitcputbl(void);
+const struct cputbl *getjitcputbl(int cpulvl, int direct);
+
 #endif /* UAE_NEWCPU_H */
index f6e7f701b859eb38e57d7a2591a716c9ffb95424..5645f97a7c348d103047743eef16bbf8dc939b83 100644 (file)
@@ -4299,7 +4299,6 @@ void build_comp(void)
        if (cpu_level > 4)
                cpu_level--;
 #ifdef NOFLAGS_SUPPORT_GENCOMP
-       extern const struct cputbl *uaegetjitcputbl(void);
        const struct cputbl *nfctbl = uaegetjitcputbl();
 #endif
 #endif
index 52a7cd2079b189cada2c13ff890a98b9ae07532a..8384e79f9cccfc580011ea48a9d8d27a41bbb073 100644 (file)
@@ -4830,12 +4830,6 @@ static int do_specialties (int cycles)
        return 0;
 }
 
-
-uaecptr m68kpc(void)
-{
-       return m68k_getpc();
-}
-
 //static uae_u32 pcs[1000];
 
 #if DEBUG_CD32CDTVIO
@@ -5425,7 +5419,7 @@ static void run_cpu_thread(void (*f)(void *))
 
 #endif
 
-void custom_reset_cpu(bool hardreset, bool keyboardreset)
+static void custom_reset_cpu(bool hardreset, bool keyboardreset)
 {
 #ifdef WITH_THREADED_CPU
        if (cpu_thread_tid != uae_thread_get_id()) {