diff m68k_core.h @ 1772:75172d440900 mame_interp

Wrote a version of m68k_invalidate_code_range for interpreter build so that MMAP_PTR_IDX regions can safely get "fast" pointers
author Michael Pavone <pavone@retrodev.com>
date Tue, 12 Mar 2019 21:58:53 -0700
parents 2455662378ed
children 374a5ae694e8
line wrap: on
line diff
--- a/m68k_core.h	Tue Mar 12 21:57:35 2019 -0700
+++ b/m68k_core.h	Tue Mar 12 21:58:53 2019 -0700
@@ -118,12 +118,11 @@
 uint32_t get_instruction_start(m68k_options *opts, uint32_t address);
 uint16_t m68k_get_ir(m68k_context *context);
 void m68k_print_regs(m68k_context * context);
+void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end);
 #ifdef USE_NATIVE
 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context);
-void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end);
 #else
 #define m68k_handle_code_write(A, M)
-#define m68k_invalidate_code_range(M, S, E)
 #endif
 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf);
 void m68k_deserialize(deserialize_buffer *buf, void *vcontext);