summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-10-14 06:52:00 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-10-14 06:52:00 +0000
commitec6298ad894161c76e36ab7e29e1c93fbef755ff (patch)
tree77bd4f9d15db27d5bc23ae8b71f66827075f088d
parent3be6961acc278339393ea8a0a5f0f941ac6bed4a (diff)
Misc regression fixes.
-rw-r--r--src/mame/drivers/raiden2.c7
-rw-r--r--src/mame/drivers/segaorun.c5
-rw-r--r--src/mame/drivers/vamphalf.c1
3 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/drivers/raiden2.c b/src/mame/drivers/raiden2.c
index 8787fdb588f..834c9c2fca6 100644
--- a/src/mame/drivers/raiden2.c
+++ b/src/mame/drivers/raiden2.c
@@ -2061,6 +2061,11 @@ static DRIVER_INIT (raiden2)
raiden2_decrypt_sprites(machine);
}
+static DRIVER_INIT (nzerotea)
+{
+ raiden2_decrypt_sprites(machine);
+}
+
static DRIVER_INIT (xsedae)
{
memory_configure_bank(machine, "mainbank", 0, 2, memory_region(machine, "mainprg"), 0x20000);
@@ -2315,7 +2320,7 @@ GAME( 1993, zeroteams,zeroteam,raiden2, raiden2, raiden2, ROT0, "Seibu Kaih
GAME( 1995, xsedae, 0, raiden2, raiden2, xsedae, ROT0, "Dream Island", "X Se Dae Quiz", GAME_NOT_WORKING|GAME_NO_SOUND)
// 'V33 system type_b' - uses V33 CPU, COPX-D3 external protection rom, but still has the proper sound system
-GAME( 1993, nzerotea, zeroteam, nzerotea, nzerotea, raiden2, ROT0, "Seibu Kaihatsu", "New Zero Team", GAME_NOT_WORKING|GAME_NO_SOUND) // this uses a v33 and COPD3
+GAME( 1993, nzerotea, zeroteam, nzerotea, nzerotea, nzerotea, ROT0, "Seibu Kaihatsu", "New Zero Team", GAME_NOT_WORKING|GAME_NO_SOUND) // this uses a v33 and COPD3
// newer PCB, with V33 CPU and COPD3 protection, but weak sound hardware. - was marked as Raiden DX New in the rom dump, but boots as Raiden 2 New version, is it switchable?
GAME( 1996, r2dx_v33, 0, rdx_v33, rdx_v33, rdx_v33, ROT270, "Seibu Kaihatsu", "Raiden II / DX (newer V33 PCB)", GAME_NOT_WORKING|GAME_NO_SOUND)
diff --git a/src/mame/drivers/segaorun.c b/src/mame/drivers/segaorun.c
index 4f4fcc59cad..fc3d81275fa 100644
--- a/src/mame/drivers/segaorun.c
+++ b/src/mame/drivers/segaorun.c
@@ -416,7 +416,9 @@ static void outrun_generic_init(running_machine *machine)
state->subcpu = machine->device("sub");
state->ppi8255 = machine->device("ppi8255");
- machine->device<nvram_device>("nvram")->set_base(workram, 0x8000);
+ nvram_device *nvram = machine->device<nvram_device>("nvram");
+ if (nvram != NULL)
+ nvram->set_base(workram, 0x8000);
state_save_register_global(machine, state->adc_select);
state_save_register_global(machine, state->vblank_irq_state);
@@ -1129,7 +1131,6 @@ static MACHINE_CONFIG_START( outrun_base, segas1x_state )
MDRV_VIDEO_START(outrun)
MDRV_VIDEO_UPDATE(outrun)
-
/* sound hardware */
MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
diff --git a/src/mame/drivers/vamphalf.c b/src/mame/drivers/vamphalf.c
index 05cbe91e08f..6650659c6ce 100644
--- a/src/mame/drivers/vamphalf.c
+++ b/src/mame/drivers/vamphalf.c
@@ -1873,6 +1873,7 @@ static DRIVER_INIT( mrkicker )
finalgdr_backupram_bank = 1;
finalgdr_backupram = auto_alloc_array(machine, UINT8, 0x80*0x100);
// memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x005e874, 0x005e877, 0, 0, mrkicker_speedup_r );
+ machine->device<nvram_device>("nvram")->set_base(finalgdr_backupram, 0x80*0x100);
palshift = 0;
flip_bit = 1; //?