summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sshangha.cpp
diff options
context:
space:
mode:
authorGravatarGravatar cam900 <dbtlrchl@naver.com>2019-04-14 01:44:05 +0900
committerGravatarGravatar cam900 <dbtlrchl@naver.com>2019-04-14 01:44:05 +0900
commit44a653c01ab09bae8164df050a7d44062058a4cc (patch) (github)
tree62eb748de3a59acd11ba72954d0ed2824bc33319 /src/mame/drivers/sshangha.cpp
parent808ec55f338ee8ddac08df45938e6f6bcd368d57 (diff)
downloadmame-44a653c01ab09bae8164df050a7d44062058a4cc.tar.bz2
mame-44a653c01ab09bae8164df050a7d44062058a4cc.zip
deco146.cpp : Updates
Reduce unnecessary arguments, Duplicates, Unnecessary lines, Fix spacings, Debugger issues, Use shorter type values deco104.cpp : Reduce unnecessary line, Use shorter type values
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 3550995dc79..b8b2d485cad 100644
--- a/src/mame/drivers/sshangha.cpp
+++ b/src/mame/drivers/sshangha.cpp
@@ -125,7 +125,7 @@ READ16_MEMBER( sshangha_state::sshangha_protection_region_d_146_r )
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;
- uint16_t data = m_deco146->read_data( deco146_addr, mem_mask, cs );
+ uint16_t data = m_deco146->read_data( deco146_addr, cs );
return data;
}
@@ -142,7 +142,7 @@ READ16_MEMBER( sshangha_state::sshangha_protection_region_8_146_r )
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;
- uint16_t data = m_deco146->read_data( deco146_addr, mem_mask, cs );
+ uint16_t data = m_deco146->read_data( deco146_addr, cs );
return data;
}