summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/sms_exp/gender.c
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2014-03-25 08:06:59 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2014-03-25 08:06:59 +0000
commite0633e84ac1d43af026511b5d45fc96b4b3820d6 (patch)
tree3e62ce0200aa7e5b4631629c2efad7007032f82b /src/emu/bus/sms_exp/gender.c
parentda231b40e7f9a6b7966f25513e32f807e5b4d75f (diff)
(MESS) sms: fixed light phaser support through the gender adapter
and adopted RAM init pattern on Export consoles too (Korean systems are acknowledged as Export and some Korean games rely on this) [Enik Land]
Diffstat (limited to 'src/emu/bus/sms_exp/gender.c')
-rw-r--r--src/emu/bus/sms_exp/gender.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/bus/sms_exp/gender.c b/src/emu/bus/sms_exp/gender.c
index 0b80deb7c68..1bda24ca090 100644
--- a/src/emu/bus/sms_exp/gender.c
+++ b/src/emu/bus/sms_exp/gender.c
@@ -58,6 +58,14 @@ READ8_MEMBER(sms_gender_adapter_device::read_ram)
return m_subslot->read_ram(space, offset);
}
+int sms_gender_adapter_device::get_lphaser_xoffs()
+{
+ if (m_subslot->m_cart)
+ return m_subslot->m_cart->get_lphaser_xoffs();
+ else
+ return 0;
+}
+
//-------------------------------------------------
// write