diff options
author | 2008-12-09 06:21:15 +0000 | |
---|---|---|
committer | 2008-12-09 06:21:15 +0000 | |
commit | eb43d347250b70ebbc5e3ec03d21ec727973e643 (patch) | |
tree | b81831a4a21af46f47f8bcbaf5729bab7bf5359c /src/emu/cpu/m68000/m68kcpu.c | |
parent | 183b7c9de7fdafcd7b24a7acf76d37fa1da3a927 (diff) |
Re-routed empty get/set context calls to the dummy CPU's, and removed them
from the CPU cores.
Disabled the use of PULSE_LINE for any input lines except NMI and RESET.
Added a helper function generic_pulse_irq_line() for doing a single-cycle
assert/deassert for those few drivers remaining that were trying to use
PULSE_LINE directly.
Diffstat (limited to 'src/emu/cpu/m68000/m68kcpu.c')
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.c b/src/emu/cpu/m68000/m68kcpu.c index faf8012cdc1..eb31a8afe34 100644 --- a/src/emu/cpu/m68000/m68kcpu.c +++ b/src/emu/cpu/m68000/m68kcpu.c @@ -572,10 +572,6 @@ static CPU_RESET( m68k ) m68k->run_mode = RUN_MODE_NORMAL; } -static CPU_GET_CONTEXT( m68k ) { } - -static CPU_SET_CONTEXT( m68k ) { } - static CPU_DISASSEMBLE( m68k ) { m68ki_cpu_core *m68k = device->token; @@ -650,8 +646,8 @@ static CPU_GET_INFO( m68k ) /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: /* set per-core */ break; - case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(m68k); break; - case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(m68k); break; + case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(dummy); break; + case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(dummy); break; case CPUINFO_PTR_INIT: /* set per-core */ break; case CPUINFO_PTR_RESET: info->reset = CPU_RESET_NAME(m68k); break; case CPUINFO_PTR_EXECUTE: info->execute = CPU_EXECUTE_NAME(m68k); break; |