summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Scott Stone <tafoid@users.noreply.github.com>2011-06-19 00:32:01 +0000
committer Scott Stone <tafoid@users.noreply.github.com>2011-06-19 00:32:01 +0000
commit1361a43a679865d306e30408fb0c92b64e15c396 (patch)
treedf53bd8a85528e86f0b2d067857905e27279263f /src
parent46c6f676b018711bf951d056d11a26027a02edff (diff)
Fix crash in ccasino - ojankohs.c (no whatsnew)
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