summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_sma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_sma.cpp')
-rw-r--r--src/devices/bus/neogeo/prot_sma.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/neogeo/prot_sma.cpp b/src/devices/bus/neogeo/prot_sma.cpp
index 99ed2269d2a..3f771781fa8 100644
--- a/src/devices/bus/neogeo/prot_sma.cpp
+++ b/src/devices/bus/neogeo/prot_sma.cpp
@@ -33,7 +33,7 @@ void sma_prot_device::device_reset()
// temporarily replaced by the get_bank_base functions below, until we clean up bankswitch implementation
#if 0
-WRITE16_MEMBER( sma_prot_device::kof99_bankswitch_w )
+void sma_prot_device::kof99_bankswitch_w(uint16_t data)
{
int bankaddress;
static const int bankoffset[64] =
@@ -63,7 +63,7 @@ WRITE16_MEMBER( sma_prot_device::kof99_bankswitch_w )
}
-WRITE16_MEMBER( sma_prot_device::garou_bankswitch_w )
+void sma_prot_device::garou_bankswitch_w(uint16_t data)
{
int bankaddress;
static const int bankoffset[64] =
@@ -98,7 +98,7 @@ WRITE16_MEMBER( sma_prot_device::garou_bankswitch_w )
}
-WRITE16_MEMBER( sma_prot_device::garouh_bankswitch_w )
+void sma_prot_device::garouh_bankswitch_w(uint16_t data)
{
int bankaddress;
static const int bankoffset[64] =
@@ -135,7 +135,7 @@ WRITE16_MEMBER( sma_prot_device::garouh_bankswitch_w )
}
-WRITE16_MEMBER( sma_prot_device::mslug3_bankswitch_w )
+void sma_prot_device::mslug3_bankswitch_w(uint16_t data)
{
int bankaddress;
static const int bankoffset[64] =
@@ -169,7 +169,7 @@ WRITE16_MEMBER( sma_prot_device::mslug3_bankswitch_w )
}
-WRITE16_MEMBER( sma_prot_device::kof2000_bankswitch_w )
+void sma_prot_device::kof2000_bankswitch_w(uint16_t data)
{
int bankaddress;
static const int bankoffset[64] =
@@ -389,7 +389,7 @@ uint32_t sma_prot_device::kof2000_bank_base(uint16_t sel)
-READ16_MEMBER( sma_prot_device::prot_9a37_r )
+uint16_t sma_prot_device::prot_9a37_r()
{
return 0x9a37;
}
@@ -398,7 +398,7 @@ READ16_MEMBER( sma_prot_device::prot_9a37_r )
/* information about the sma random number generator provided by razoola */
/* this RNG is correct for KOF99, other games might be different */
-READ16_MEMBER( sma_prot_device::random_r )
+uint16_t sma_prot_device::random_r()
{
uint16_t old = m_sma_rng;
uint16_t newbit = ((m_sma_rng >> 2) ^