mirror of
https://github.com/holub/mame
synced 2025-05-20 12:48:53 +03:00
fixed passing of address space to ojankoc_flipscreen
This commit is contained in:
parent
3d5f21ae45
commit
1911f822bf
@ -54,7 +54,7 @@ VIDEO_UPDATE( ojankoc );
|
|||||||
VIDEO_START( ojankoc );
|
VIDEO_START( ojankoc );
|
||||||
WRITE8_HANDLER( ojankoc_palette_w );
|
WRITE8_HANDLER( ojankoc_palette_w );
|
||||||
WRITE8_HANDLER( ojankoc_videoram_w );
|
WRITE8_HANDLER( ojankoc_videoram_w );
|
||||||
void ojankoc_flipscreen(running_machine *machine, int data);
|
void ojankoc_flipscreen(const address_space *space, int data);
|
||||||
|
|
||||||
|
|
||||||
static int ojankohs_portselect;
|
static int ojankohs_portselect;
|
||||||
@ -132,7 +132,7 @@ static WRITE8_HANDLER( ojankoc_ctrl_w )
|
|||||||
|
|
||||||
ojankohs_adpcm_reset = ((data & 0x10) >> 4);
|
ojankohs_adpcm_reset = ((data & 0x10) >> 4);
|
||||||
msm5205_reset_w(0, (!(data & 0x10) >> 4));
|
msm5205_reset_w(0, (!(data & 0x10) >> 4));
|
||||||
ojankoc_flipscreen(space->machine, data);
|
ojankoc_flipscreen(space, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_HANDLER( ojankohs_portselect_w )
|
static WRITE8_HANDLER( ojankohs_portselect_w )
|
||||||
|
Loading…
Reference in New Issue
Block a user