From fa34d8cd31518d9affaafe315ac5987b9a79fde6 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sun, 31 Mar 2019 12:11:41 +0900 Subject: deco146.cpp : Simplify handlers, Reduce some unnecessary lines --- src/mame/drivers/sshangha.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mame/drivers/sshangha.cpp') diff --git a/src/mame/drivers/sshangha.cpp b/src/mame/drivers/sshangha.cpp index f69005d99a4..3550995dc79 100644 --- a/src/mame/drivers/sshangha.cpp +++ b/src/mame/drivers/sshangha.cpp @@ -134,7 +134,7 @@ WRITE16_MEMBER( sshangha_state::sshangha_protection_region_d_146_w ) int real_address = 0x3f4000 + (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; uint8_t cs = 0; - m_deco146->write_data( space, deco146_addr, data, mem_mask, cs ); + m_deco146->write_data( deco146_addr, data, mem_mask, cs ); } READ16_MEMBER( sshangha_state::sshangha_protection_region_8_146_r ) @@ -151,7 +151,7 @@ WRITE16_MEMBER( sshangha_state::sshangha_protection_region_8_146_w ) int real_address = 0x3e0000 + (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; uint8_t cs = 0; - m_deco146->write_data( space, deco146_addr, data, mem_mask, cs ); + m_deco146->write_data( deco146_addr, data, mem_mask, cs ); } /* -- cgit v1.2.3