summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/namconb1.cpp
diff options
context:
space:
mode:
author David Haywood <28625134+DavidHaywood@users.noreply.github.com>2021-07-16 00:40:04 +0100
committer GitHub <noreply@github.com>2021-07-15 19:40:04 -0400
commit30e547bc5ae1093d76c80ccca8e5f40ffc6cc004 (patch)
treee9afe4bd8b3491a32a0879b75c7238bd218fc8dc /src/mame/drivers/namconb1.cpp
parent5df092b60a99e5ec1f0919f5dc6d78e9fd15bab7 (diff)
some Namco posirq kludges [David Haywood] + Final Lap R sprite position fix [Ryan Holtz] (#8305)
Diffstat (limited to 'src/mame/drivers/namconb1.cpp')
-rw-r--r--src/mame/drivers/namconb1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/namconb1.cpp b/src/mame/drivers/namconb1.cpp
index 9c068d4985a..0876ee12ace 100644
--- a/src/mame/drivers/namconb1.cpp
+++ b/src/mame/drivers/namconb1.cpp
@@ -311,7 +311,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(namconb1_state::scantimer)
if (scanline == posirq_scanline)
{
- m_screen->update_partial(posirq_scanline);
+ m_screen->update_partial(m_update_to_line_before_posirq ? posirq_scanline-1 : posirq_scanline);
if (m_pos_irq_level != 0)
m_maincpu->set_input_line(m_pos_irq_level, ASSERT_LINE);
@@ -894,6 +894,7 @@ INPUT_PORTS_END
void namconb1_state::init_nebulray()
{
m_gametype = NAMCONB1_NEBULRAY;
+ m_update_to_line_before_posirq = true; // needed or there is a bad line on the right of the screen, and some stars don't scroll correctly
} /* nebulray */
void namconb1_state::init_gslgr94u()