about summary refs log tree commit diff stats
path: root/src/emu/modrm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/modrm.h')
-rw-r--r--src/emu/modrm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/emu/modrm.h b/src/emu/modrm.h
index 7d1c5c76..b2c0580e 100644
--- a/src/emu/modrm.h
+++ b/src/emu/modrm.h
@@ -16,11 +16,15 @@
 #define GETED oped=GetEd(emu, rex, nextop)

 #define GETGD opgd=GetGd(emu, rex, nextop)

 #define GETEB oped=GetEb(emu, rex, nextop)

-#define GETGB oped=GetGb(emu, rex, nextop)

+#define GETGB opgd=GetGb(emu, rex, nextop)

+#define GETEW oped=GetEw(emu, rex, nextop)

+#define GETGW opgd=GetGw(emu, rex, nextop)

 #define ED  oped

 #define GD  opgd

 #define EB  oped

-#define GB  oped->byte[0]

+#define GB  opgd->byte[0]

+#define EW  oped

+#define GW  opgd

 

 #define GOCOND(BASE, PREFIX, CONDITIONAL)       \

     case BASE+0x0:                              \