diff options
author | 2013-03-06 15:37:55 +0000 | |
---|---|---|
committer | 2013-03-06 15:37:55 +0000 | |
commit | af2dee37c56ec2723b35d3508af10da07b74ca38 (patch) | |
tree | bbd77e4c9bccb31be172c96bebd830f39dccbf48 /src/emu/cpu | |
parent | a455a62f2528bdaa320678d1091af9fd6f6b2a31 (diff) |
fix stack overflow in disasm_disassemble (nw)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r-- | src/emu/cpu/esrip/esrip.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/ssem/ssem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/esrip/esrip.c b/src/emu/cpu/esrip/esrip.c index 300ac0d9a2c..2474c8e6a22 100644 --- a/src/emu/cpu/esrip/esrip.c +++ b/src/emu/cpu/esrip/esrip.c @@ -401,7 +401,7 @@ UINT32 esrip_device::disasm_max_opcode_bytes() const offs_t esrip_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { extern CPU_DISASSEMBLE( esrip ); - return disassemble(buffer, pc, oprom, opram, 0); + return CPU_DISASSEMBLE_NAME(esrip)(this, buffer, pc, oprom, opram, options); } diff --git a/src/emu/cpu/ssem/ssem.c b/src/emu/cpu/ssem/ssem.c index 91ec15cfc46..bcd7faaa2c7 100644 --- a/src/emu/cpu/ssem/ssem.c +++ b/src/emu/cpu/ssem/ssem.c @@ -189,7 +189,7 @@ UINT32 ssem_device::disasm_max_opcode_bytes() const offs_t ssem_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { extern CPU_DISASSEMBLE( ssem ); - return disassemble(buffer, pc, oprom, opram, 0); + return CPU_DISASSEMBLE_NAME(ssem)(this, buffer, pc, oprom, opram, options); } |