From e26c70d35b6e2dae5a4a663466a9f6049875ac0e Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 11 Dec 2008 17:03:13 +0000 Subject: 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. --- src/emu/cpuexec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/emu/cpuexec.c') 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); -- cgit v1.2.3-70-g09d2