Skip to content

Commit

Permalink
Attempt to fix Wing Force sound (revised)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcadez2003 authored Jul 3, 2024
1 parent c838c2c commit 29e35d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/drivers/kaneko16.c
Original file line number Diff line number Diff line change
Expand Up @@ -1130,12 +1130,14 @@ static ADDRESS_MAP_START( wingforc_sound_writemem, ADDRESS_SPACE_PROGRAM, 8 )
ADDRESS_MAP_END

static ADDRESS_MAP_START( wingforc_sound_readport, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_FLAGS( AMEF_ABITS(8) )
AM_RANGE(0x03, 0x03) AM_READ(YM2151_status_port_0_r )
AM_RANGE(0x0a, 0x0a) AM_READ(OKIM6295_status_0_r)
AM_RANGE(0x06, 0x06) AM_READ(soundlatch_r )
ADDRESS_MAP_END

static ADDRESS_MAP_START( wingforc_sound_writeport, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_FLAGS( AMEF_ABITS(8) )
AM_RANGE(0x02, 0x02) AM_WRITE(YM2151_register_port_0_w )
AM_RANGE(0x03, 0x03) AM_WRITE(YM2151_data_port_0_w )
AM_RANGE(0x0a, 0x0a) AM_WRITE(OKIM6295_data_0_w )
Expand Down Expand Up @@ -2537,6 +2539,7 @@ static MACHINE_DRIVER_START( wingforc )
MDRV_SOUND_ADD(OKIM6295, 16000000/16/132)
MDRV_SOUND_CONFIG(okim6295_interface_region_1)
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_DRIVER_END


Expand Down

0 comments on commit 29e35d5

Please sign in to comment.