diff options
Diffstat (limited to 'src/mame/drivers/boogwing.cpp')
-rw-r--r-- | src/mame/drivers/boogwing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/boogwing.cpp b/src/mame/drivers/boogwing.cpp index 687957c58e5..c94102fd4f2 100644 --- a/src/mame/drivers/boogwing.cpp +++ b/src/mame/drivers/boogwing.cpp @@ -96,7 +96,7 @@ #define MAIN_XTAL XTAL(28'000'000) #define SOUND_XTAL XTAL(32'220'000) -READ16_MEMBER( boogwing_state::boogwing_protection_region_0_104_r ) +uint16_t boogwing_state::boogwing_protection_region_0_104_r(offs_t offset) { int real_address = 0 + (offset *2); int deco146_addr = bitswap<32>(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff; @@ -105,7 +105,7 @@ READ16_MEMBER( boogwing_state::boogwing_protection_region_0_104_r ) return data; } -WRITE16_MEMBER( boogwing_state::boogwing_protection_region_0_104_w ) +void boogwing_state::boogwing_protection_region_0_104_w(offs_t offset, uint16_t data, uint16_t mem_mask) { int real_address = 0 + (offset *2); int deco146_addr = bitswap<32>(real_address, /* NC */31,30,29,28,27,26,25,24,23,22,21,20,19,18, 13,12,11,/**/ 17,16,15,14, 10,9,8, 7,6,5,4, 3,2,1,0) & 0x7fff; @@ -113,7 +113,7 @@ WRITE16_MEMBER( boogwing_state::boogwing_protection_region_0_104_w ) m_deco104->write_data( deco146_addr, data, mem_mask, cs ); } -WRITE16_MEMBER( boogwing_state::priority_w ) +void boogwing_state::priority_w(offs_t offset, uint16_t data, uint16_t mem_mask) { COMBINE_DATA(&m_priority); } |