summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sshangha.cpp
diff options
context:
space:
mode:
authorGravatarGravatar cam900 <dbtlrchl@naver.com>2019-03-31 12:11:41 +0900
committerGravatarGravatar cam900 <dbtlrchl@naver.com>2019-03-31 12:11:41 +0900
commitfa34d8cd31518d9affaafe315ac5987b9a79fde6 (patch) (github)
tree40cc60a57cc7f709a51c94d41246172aaa148631 /src/mame/drivers/sshangha.cpp
parentd684b0d0f36883f0110a1b3f7a0af43863436247 (diff)
downloadmame-fa34d8cd31518d9affaafe315ac5987b9a79fde6.tar.bz2
mame-fa34d8cd31518d9affaafe315ac5987b9a79fde6.zip
deco146.cpp : Simplify handlers, Reduce some unnecessary lines
Diffstat (limited to 'src/mame/drivers/sshangha.cpp')
-rw-r--r--src/mame/drivers/sshangha.cpp4
1 files changed, 2 insertions, 2 deletions
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 );
}
/*