summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-11-17 15:40:48 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-11-17 15:40:48 +0000
commit39957739fdcac73bfd6630cef33bf969bd5c7559 (patch)
tree854d6e8dabf90d0a852d5be9b53482997a8ef497 /src
parent0a647b65c9f7f97610433d0c8811ab217b917f8c (diff)
Fix broken DRC logging.
Diffstat (limited to 'src')
-rw-r--r--src/emu/cpu/i386/i386dasm.c2
-rw-r--r--src/emu/cpu/x86log.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/i386/i386dasm.c b/src/emu/cpu/i386/i386dasm.c
index 06e27a62cc4..90845e9c09a 100644
--- a/src/emu/cpu/i386/i386dasm.c
+++ b/src/emu/cpu/i386/i386dasm.c
@@ -2115,7 +2115,7 @@ handle_unknown:
sprintf(s, "???");
}
-static int i386_dasm_one_ex(char *buffer, UINT64 eip, const UINT8 *oprom, int mode)
+int i386_dasm_one_ex(char *buffer, UINT64 eip, const UINT8 *oprom, int mode)
{
UINT8 op;
diff --git a/src/emu/cpu/x86log.c b/src/emu/cpu/x86log.c
index 28306b3ae78..059fffefca9 100644
--- a/src/emu/cpu/x86log.c
+++ b/src/emu/cpu/x86log.c
@@ -74,7 +74,7 @@ struct _x86log_context
***************************************************************************/
static void reset_log(x86log_context *log);
-extern int i386_dasm_one(char *buffer, UINT64 eip, const UINT8 *oprom, int mode);
+extern int i386_dasm_one_ex(char *buffer, UINT64 eip, const UINT8 *oprom, int mode);
@@ -237,9 +237,9 @@ void x86log_disasm_code_range(x86log_context *log, const char *label, x86code *s
else
{
#ifdef PTR64
- bytes = i386_dasm_one(buffer, (FPTR)cur, cur, 64) & DASMFLAG_LENGTHMASK;
+ bytes = i386_dasm_one_ex(buffer, (FPTR)cur, cur, 64) & DASMFLAG_LENGTHMASK;
#else
- bytes = i386_dasm_one(buffer, (FPTR)cur, cur, 32) & DASMFLAG_LENGTHMASK;
+ bytes = i386_dasm_one_ex(buffer, (FPTR)cur, cur, 32) & DASMFLAG_LENGTHMASK;
#endif
}