summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2022-03-19 10:29:39 -0800
committer GitHub <noreply@github.com>2022-03-19 14:29:39 -0400
commit267b329f9fdaf8413a07f158a128598654f8ed84 (patch)
tree057fdfc1788aacb418a2b49bc15e49a730e6a493
parentb0142d77604c209e65053272ba19e44733e14337 (diff)
vsnes.cpp: Fixed Gumshoe regression. (#9438)
-rw-r--r--src/devices/bus/nes_ctrl/zapper_sensor.cpp2
-rw-r--r--src/devices/bus/nes_ctrl/zapper_sensor.h2
-rw-r--r--src/mame/drivers/playch10.cpp2
-rw-r--r--src/mame/machine/vsnes.cpp6
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)));
}