diff backend.h @ 582:c05fcbfe1b1a

Refactored translate_m68k so that it contains no host-cpu specific code and moved it to m68k_core.c
author Michael Pavone <pavone@retrodev.com>
date Fri, 07 Mar 2014 17:42:29 -0800
parents 8e395210f50f
children 2dde38c1744f
line wrap: on
line diff
--- a/backend.h	Wed Mar 05 19:26:53 2014 -0800
+++ b/backend.h	Fri Mar 07 17:42:29 2014 -0800
@@ -13,13 +13,20 @@
 #define INVALID_OFFSET 0xFFFFFFFF
 #define EXTENSION_WORD 0xFFFFFFFE
 
+#if defined(X86_32) || defined(X86_64)
 typedef struct {
 	int32_t disp;
 	uint8_t mode;
 	uint8_t base;
 	uint8_t index;
-	uint8_t cycles;
-} x86_ea;
+} host_ea;
+#else
+typedef struct {
+	int32_t disp;
+	uint8_t mode;
+	uint8_t base;
+} host_ea;
+#endif
 
 typedef struct {
 	uint8_t  *base;