From 267b329f9fdaf8413a07f158a128598654f8ed84 Mon Sep 17 00:00:00 2001 From: 0kmg <9137159+0kmg@users.noreply.github.com> Date: Sat, 19 Mar 2022 10:29:39 -0800 Subject: vsnes.cpp: Fixed Gumshoe regression. (#9438) --- src/devices/bus/nes_ctrl/zapper_sensor.cpp | 2 +- src/devices/bus/nes_ctrl/zapper_sensor.h | 2 +- src/mame/drivers/playch10.cpp | 2 +- src/mame/machine/vsnes.cpp | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/devices/bus/nes_ctrl/zapper_sensor.cpp b/src/devices/bus/nes_ctrl/zapper_sensor.cpp index 6e2e01c9661..6d0bf53fc6d 100644 --- a/src/devices/bus/nes_ctrl/zapper_sensor.cpp +++ b/src/devices/bus/nes_ctrl/zapper_sensor.cpp @@ -3,7 +3,7 @@ /********************************************************************** HLE of the common photodiode reading routine used in the NES, - Vs. System, and Playchoice-10 light guns, and R.O.B. + Vs. System, and PlayChoice-10 light guns, and R.O.B. These all use a Sharp IR3T07, though the NES zapper is (always?) seen with the IR3T07A revision. diff --git a/src/devices/bus/nes_ctrl/zapper_sensor.h b/src/devices/bus/nes_ctrl/zapper_sensor.h index 1e546f937f6..f63a38e6b01 100644 --- a/src/devices/bus/nes_ctrl/zapper_sensor.h +++ b/src/devices/bus/nes_ctrl/zapper_sensor.h @@ -3,7 +3,7 @@ /********************************************************************** HLE of the common photodiode reading routine used in the NES, - Vs. System, and Playchoice-10 light guns, and R.O.B. + Vs. System, and PlayChoice-10 light guns, and R.O.B. **********************************************************************/ diff --git a/src/mame/drivers/playch10.cpp b/src/mame/drivers/playch10.cpp index 7bdc01066f6..b053c578e4e 100644 --- a/src/mame/drivers/playch10.cpp +++ b/src/mame/drivers/playch10.cpp @@ -2,7 +2,7 @@ // copyright-holders:Ernesto Corvi,Brad Oliver /*************************************************************************** -Playchoice 10 - (c) 1986 Nintendo of America +PlayChoice-10 - (c) 1986 Nintendo of America Written by Ernesto Corvi. diff --git a/src/mame/machine/vsnes.cpp b/src/mame/machine/vsnes.cpp index 7de817ac567..6ba07e951b0 100644 --- a/src/mame/machine/vsnes.cpp +++ b/src/mame/machine/vsnes.cpp @@ -316,7 +316,9 @@ void vsnes_state::vsgshoe_gun_in0_w(u8 data) { // Gumshoe uniquely has a bankable 16K EPROM in addition to the normal unbanked 8K slots m_prg_banks[0]->set_entry(BIT(data, 2)); - gun_in0_w(data); + + // otherwise bank like the other gun games + vsnes_gun_in0_w(data); } void vsnes_state::init_vsgshoe() @@ -487,7 +489,7 @@ void vsnes_state::init_rbibb() { init_vs108(); - // RBI Base ball protection, address full decoded except A11 + // RBI Baseball protection, address fully decoded except A11 m_maincpu->space(AS_PROGRAM).install_read_handler(0x5600, 0x5601, read8sm_delegate(*this, FUNC(vsnes_state::rbibb_prot_r))); m_maincpu->space(AS_PROGRAM).install_read_handler(0x5e00, 0x5e01, read8sm_delegate(*this, FUNC(vsnes_state::rbibb_prot_r))); } -- cgit v1.2.3