diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2012-02-04 15:09:04 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2012-02-04 15:09:04 +0000 |
commit | a8ad7755b8d0916e193606670fb51320e07d5d20 (patch) | |
tree | 18482127abb6b8a08f1c3be5d9228bce2c781d04 /src/mame/drivers/neodrvr.c | |
parent | c67e27f4e9b36f6b37dcb29ff5eb2afe5ffe5219 (diff) |
Quick patch from Haze, nw
Diffstat (limited to 'src/mame/drivers/neodrvr.c')
-rw-r--r-- | src/mame/drivers/neodrvr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mame/drivers/neodrvr.c b/src/mame/drivers/neodrvr.c index 300cb21b6a8..56c9af4dc32 100644 --- a/src/mame/drivers/neodrvr.c +++ b/src/mame/drivers/neodrvr.c @@ -9861,6 +9861,15 @@ static DRIVER_INIT(sbp ) machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_r)); machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_w)); + /* the game code clears the text overlay used ingame immediately after writing it.. why? protection? sloppy code that the hw ignores? imperfect emulation? */ + { + UINT16* rom = (UINT16*)machine.region("maincpu")->base(); + + rom[0x2a6f8/2] = 0x4e71; + rom[0x2a6fa/2] = 0x4e71; + rom[0x2a6fc/2] = 0x4e71; + } + } |