diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/cpu/x86log.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/cpu/x86log.cpp')
-rw-r--r-- | src/devices/cpu/x86log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/x86log.cpp b/src/devices/cpu/x86log.cpp index 09d53c80bba..f8990e51049 100644 --- a/src/devices/cpu/x86log.cpp +++ b/src/devices/cpu/x86log.cpp @@ -20,7 +20,7 @@ ***************************************************************************/ static void reset_log(x86log_context *log) noexcept; -extern int i386_dasm_one_ex(char *buffer, UINT64 eip, const UINT8 *oprom, int mode); +extern int i386_dasm_one_ex(char *buffer, uint64_t eip, const uint8_t *oprom, int mode); @@ -130,9 +130,9 @@ void x86log_disasm_code_range(x86log_context *log, const char *label, x86code *s { default: case 1: sprintf(buffer, "db %02X", *cur); break; - case 2: sprintf(buffer, "dw %04X", *(UINT16 *)cur); break; - case 4: sprintf(buffer, "dd %08X", *(UINT32 *)cur); break; - case 8: sprintf(buffer, "dq %08X%08X", ((UINT32 *)cur)[1], ((UINT32 *)cur)[0]); break; + case 2: sprintf(buffer, "dw %04X", *(uint16_t *)cur); break; + case 4: sprintf(buffer, "dd %08X", *(uint32_t *)cur); break; + case 8: sprintf(buffer, "dq %08X%08X", ((uint32_t *)cur)[1], ((uint32_t *)cur)[0]); break; } } |