Previous 199869 Revisions Next

r21642 Wednesday 6th March, 2013 at 15:37:55 UTC by smf
fix stack overflow in disasm_disassemble (nw)
[src/emu/cpu/esrip]esrip.c
[src/emu/cpu/ssem]ssem.c

trunk/src/emu/cpu/esrip/esrip.c
r21641r21642
401401offs_t esrip_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
402402{
403403   extern CPU_DISASSEMBLE( esrip );
404   return disassemble(buffer, pc, oprom, opram, 0);
404   return CPU_DISASSEMBLE_NAME(esrip)(this, buffer, pc, oprom, opram, options);
405405}
406406
407407
trunk/src/emu/cpu/ssem/ssem.c
r21641r21642
189189offs_t ssem_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
190190{
191191   extern CPU_DISASSEMBLE( ssem );
192   return disassemble(buffer, pc, oprom, opram, 0);
192   return CPU_DISASSEMBLE_NAME(ssem)(this, buffer, pc, oprom, opram, options);
193193}
194194
195195

Previous 199869 Revisions Next


© 1997-2024 The MAME Team