diff options
| author | 2009-09-07 00:26:56 +0000 | |
|---|---|---|
| committer | 2009-09-07 00:26:56 +0000 | |
| commit | 03b5da1a5563c867808c6ac2ba98f5ad74066a39 (patch) | |
| tree | 39944522fbfe4f04ffdd59228db3b1c3bc374498 /src/emu/debug/debugcpu.c | |
| parent | f60bbef0707457417c73569c6f24851601692248 (diff) | |
Added 'options' parameter to the CPU_DISASSEMBLE prototype. For now, the
debugger always passes 0 for this. unidasm has been updated to accept a
mode parameter, which is passed for the options.
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 5137e6bac2c..d8a6c659a75 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -391,11 +391,11 @@ offs_t debug_cpu_disassemble(const device_config *device, char *buffer, offs_t p /* check for disassembler override */ if (info->dasm_override != NULL) - result = (*info->dasm_override)(device, buffer, pc, oprom, opram); + result = (*info->dasm_override)(device, buffer, pc, oprom, opram, 0); /* if we have a disassembler, run it */ if (result == 0 && info->disassemble != NULL) - result = (*info->disassemble)(device, buffer, pc, oprom, opram); + result = (*info->disassemble)(device, buffer, pc, oprom, opram, 0); /* if we still have nothing, output vanilla bytes */ if (result == 0) |
