Previous 15994 Revisions Next

r11665 Thursday 26th May, 2011 at 14:11:45 UTC by Angelo Salese
Fixed another crash
[ROOT]makefile
[src/mame/drivers]saturn.c

src/mame/drivers/saturn.c
r11664r11665
24942494static MACHINE_START( saturn )
24952495{
24962496   saturn_state *state = machine.driver_data<saturn_state>();
2497
2498   state->m_maincpu = downcast<legacy_cpu_device*>( machine.device("maincpu") );
2499   state->m_slave = downcast<legacy_cpu_device*>( machine.device("slave") );
2500   state->m_audiocpu = downcast<legacy_cpu_device*>( machine.device("audiocpu") );
2501
24972502   scsp_set_ram_base(machine.device("scsp"), state->m_sound_ram);
24982503
24992504   // save states
r11664r11665
26332638   /* basic machine hardware */
26342639   MCFG_CPU_ADD("maincpu", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
26352640   MCFG_CPU_PROGRAM_MAP(saturn_mem)
2641   MCFG_CPU_CONFIG(sh2_conf_master)
26362642   MCFG_TIMER_ADD_SCANLINE("scantimer", saturn_scanline, "screen", 0, 1)
2637   MCFG_CPU_CONFIG(sh2_conf_master)
26382643
26392644   MCFG_CPU_ADD("slave", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
26402645   MCFG_CPU_PROGRAM_MAP(saturn_mem)
r11664r11665
26782683   /* basic machine hardware */
26792684   MCFG_CPU_ADD("maincpu", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
26802685   MCFG_CPU_PROGRAM_MAP(stv_mem)
2686   MCFG_CPU_CONFIG(sh2_conf_master)
26812687   MCFG_TIMER_ADD_SCANLINE("scantimer", saturn_scanline, "screen", 0, 1)
2682   MCFG_CPU_CONFIG(sh2_conf_master)
26832688
26842689   MCFG_CPU_ADD("slave", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz
26852690   MCFG_CPU_PROGRAM_MAP(stv_mem)
makefile
r11664r11665
212212BUILD_ZLIB = 1
213213
214214# uncomment next line to include the symbols
215# SYMBOLS = 1
215SYMBOLS = 1
216216
217217# specify symbols level or leave commented to use the default
218218# (default is SYMLEVEL = 2 normally; use 1 if you only need backtrace)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team