From: Frode Solheim Date: Wed, 16 Jul 2025 16:26:44 +0000 (+0200) Subject: newcpu: declaration fixes and remove unused m68kpc function X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1acf04a7132f45bba5e8a5c5169a67a0c29c9bb5;p=francis%2Fwinuae.git newcpu: declaration fixes and remove unused m68kpc function --- diff --git a/include/newcpu.h b/include/newcpu.h index 4de33d80..9a1888c1 100644 --- a/include/newcpu.h +++ b/include/newcpu.h @@ -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 */ diff --git a/jit/compemu_support.cpp b/jit/compemu_support.cpp index f6e7f701..5645f97a 100644 --- a/jit/compemu_support.cpp +++ b/jit/compemu_support.cpp @@ -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 diff --git a/newcpu.cpp b/newcpu.cpp index 52a7cd20..8384e79f 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -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()) {