summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpuexec.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-11 17:03:13 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-11 17:03:13 +0000
commite26c70d35b6e2dae5a4a663466a9f6049875ac0e (patch)
tree4921fbbe22fb5b7cf7fa4340842af8944f95013d /src/emu/cpuexec.c
parent4ee312ca39ecd53e1fba79c2b5c8899d4db0489c (diff)
Fixed crash bug in DCS games.
Updated the fcompress APIs to allow for specifying a compression level. Removed the concept of state saving tags, which was a hack to get save states to work with multiple CPU cores. Simplified the state saving system as a result, performing the operation in a single pass and without allocating a full blob of memory. Also enabled minimal compression.
Diffstat (limited to 'src/emu/cpuexec.c')
-rw-r--r--src/emu/cpuexec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/emu/cpuexec.c b/src/emu/cpuexec.c
index c6d97101383..3d0582df84e 100644
--- a/src/emu/cpuexec.c
+++ b/src/emu/cpuexec.c
@@ -262,11 +262,9 @@ void cpuexec_init(running_machine *machine)
classdata->timedint_timer = timer_alloc(machine, trigger_periodic_interrupt, device);
/* initialize this CPU */
- state_save_push_tag(cpunum + 1);
num_regs = state_save_get_reg_count(machine);
cpu_init(device, cpunum, classdata->clock, standard_irq_callback);
num_regs = state_save_get_reg_count(machine) - num_regs;
- state_save_pop_tag();
/* fetch post-initialization data */
classdata->icount = cpu_get_icount_ptr(device);