summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/ojankohs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ojankohs.c b/src/mame/drivers/ojankohs.c
index 2fae997d492..48d9944964f 100644
--- a/src/mame/drivers/ojankohs.c
+++ b/src/mame/drivers/ojankohs.c
@@ -259,7 +259,7 @@ static ADDRESS_MAP_START( ccasino_io_map, AS_IO, 8 )
AM_RANGE(0x05, 0x05) AM_WRITE(ojankohs_msm5205_w)
AM_RANGE(0x06, 0x06) AM_DEVREAD("aysnd", ay8910_r)
AM_RANGE(0x06, 0x07) AM_DEVWRITE("aysnd", ay8910_data_address_w)
- AM_RANGE(0x08, 0x0f) AM_WRITE(ccasino_palette_w) // 16bit address access
+ AM_RANGE(0x08, 0x0f) AM_WRITE(ccasino_palette_w) AM_BASE_MEMBER(ojankohs_state,m_paletteram) // 16bit address access
AM_RANGE(0x10, 0x10) AM_WRITENOP
AM_RANGE(0x11, 0x11) AM_WRITENOP
ADDRESS_MAP_END