diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-12-14 09:03:15 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-12-14 09:03:15 +0000 |
commit | 21831461f240d3ce0b657140ab8c52c153f66841 (patch) | |
tree | 6b3b2f93932d609d67957aba3d06eec64fea163c | |
parent | a7db377c875150d7f179f037a6c653f27aa654a5 (diff) |
Fix a couple of regressions.
-rw-r--r-- | src/mame/drivers/flyball.c | 1 | ||||
-rw-r--r-- | src/mame/drivers/galivan.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/drivers/flyball.c b/src/mame/drivers/flyball.c index 2d2b5df1eb4..776c142e88e 100644 --- a/src/mame/drivers/flyball.c +++ b/src/mame/drivers/flyball.c @@ -72,6 +72,7 @@ static MACHINE_RESET( flyball ) for (i = 0; i < 0x1000; i++) rombase[i] = ROM[i ^ 0x1ff]; + cpu_reset(machine->cpu[0]); timer_set(machine, video_screen_get_time_until_pos(machine->primary_screen, 0, 0), NULL, 0, flyball_quarter_callback); } diff --git a/src/mame/drivers/galivan.c b/src/mame/drivers/galivan.c index 3d27ba26bcd..7a5053ade57 100644 --- a/src/mame/drivers/galivan.c +++ b/src/mame/drivers/galivan.c @@ -53,6 +53,7 @@ static MACHINE_RESET( galivan ) UINT8 *RAM = memory_region(machine, "main"); memory_set_bankptr(machine, 1,&RAM[0x10000]); + cpu_reset(machine->cpu[0]); // layers = 0x60; } @@ -987,6 +988,8 @@ static WRITE8_HANDLER( youmab_84_w ) static DRIVER_INIT( youmab ) { memory_install_write8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO), 0x82, 0x82, 0, 0, youmab_extra_bank_w); // banks rom at 0x8000? writes 0xff and 0x00 before executing code there + memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x0000, 0x7fff, 0, 0, SMH_BANK3); + memory_set_bankptr(machine, 3, memory_region(machine, "main") ); memory_install_read8_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM), 0x8000, 0xbfff, 0, 0, SMH_BANK2); memory_set_bankptr(machine, 2, memory_region(machine, "user2") ); |