OSDN Git Service

[VM][HuC6280] Fix debug calling.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Feb 2019 14:35:44 +0000 (23:35 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Feb 2019 14:35:44 +0000 (23:35 +0900)
source/src/vm/huc6280_base.cpp

index cddf5d7..9d927da 100644 (file)
@@ -39,7 +39,7 @@
 
 #define CPU_DISASSEMBLE_NAME(name)             cpu_disassemble_##name
 #define CPU_DISASSEMBLE(name)                  int CPU_DISASSEMBLE_NAME(name)(_TCHAR *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, symbol_t *first_symbol)
-#define CPU_DISASSEMBLE_CALL(name)             CPU_DISASSEMBLE_NAME(name)(buffer, pc, oprom, oprom, d_debugger->first_symbol)
+#define CPU_DISASSEMBLE_CALL(name)             CPU_DISASSEMBLE_NAME(name)(buffer, pc, oprom, opram, d_debugger->first_symbol)
 
 #define READ8_HANDLER(name)                    UINT8 name(h6280_Regs *cpustate, offs_t offset)
 #define WRITE8_HANDLER(name)                   void name(h6280_Regs *cpustate, offs_t offset, UINT8 data)