summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2010-01-10 12:52:12 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2010-01-10 12:52:12 +0000
commitade4b98d4caeae71e5ca32c8640de0a76560e4da (patch)
treecd0e7c427c9eb79ab818c03dfad261ac2d948bbc /src/mame
parent4498faacd93cbb7f204d1b47e5d12bd417cf43b3 (diff)
on behalf of Pierpaolo Prazzoli:
Fix for MT03653: crzrally, crzrallya, crzrallyg: Default high scores are incorrect
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/holeland.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/holeland.c b/src/mame/drivers/holeland.c
index 303a888b231..6a576ed1f90 100644
--- a/src/mame/drivers/holeland.c
+++ b/src/mame/drivers/holeland.c
@@ -30,7 +30,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( crzrally_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0xbfff) AM_ROM
- AM_RANGE(0xc000, 0xc7ff) AM_RAM
+ AM_RANGE(0xc000, 0xc7ff) AM_RAM AM_BASE_SIZE_GENERIC(nvram)
AM_RANGE(0xe000, 0xe3ff) AM_WRITE(holeland_colorram_w) AM_BASE_MEMBER(holeland_state, colorram)
AM_RANGE(0xe400, 0xe7ff) AM_WRITE(holeland_videoram_w) AM_BASE_SIZE_MEMBER(holeland_state, videoram, videoram_size)
AM_RANGE(0xe800, 0xebff) AM_RAM AM_BASE_SIZE_MEMBER(holeland_state, spriteram, spriteram_size)
@@ -356,6 +356,8 @@ static MACHINE_DRIVER_START( crzrally )
MDRV_CPU_IO_MAP(io_map)
MDRV_CPU_VBLANK_INT("screen", irq0_line_hold)
+ MDRV_NVRAM_HANDLER(generic_1fill)
+
/* video hardware */
MDRV_SCREEN_ADD("screen", RASTER)
MDRV_SCREEN_REFRESH_RATE(59)