From eb43d347250b70ebbc5e3ec03d21ec727973e643 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 9 Dec 2008 06:21:15 +0000 Subject: 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. --- src/emu/cpu/spc700/spc700.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/emu/cpu/spc700') diff --git a/src/emu/cpu/spc700/spc700.c b/src/emu/cpu/spc700/spc700.c index 74c7948a53c..cac9b50b821 100644 --- a/src/emu/cpu/spc700/spc700.c +++ b/src/emu/cpu/spc700/spc700.c @@ -1227,12 +1227,6 @@ CPU_EXIT( spc700 ) } -/* Get the current CPU context */ -CPU_GET_CONTEXT( spc700 ) { } - -/* Set the current CPU context */ -CPU_SET_CONTEXT( spc700 ) { } - /* Get the current Program Counter */ unsigned spc700_get_pc(spc700i_cpu *cpustate) { @@ -1656,8 +1650,8 @@ CPU_GET_INFO( spc700 ) /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = CPU_SET_INFO_NAME(spc700); break; - case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(spc700); break; - case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(spc700); 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: info->init = CPU_INIT_NAME(spc700); break; case CPUINFO_PTR_RESET: info->reset = CPU_RESET_NAME(spc700); break; case CPUINFO_PTR_EXIT: info->exit = CPU_EXIT_NAME(spc700); break; -- cgit v1.2.3-70-g09d2