summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author mahlemiut <bsr@xnet.co.nz>2016-11-02 18:39:34 +1300
committer mahlemiut <bsr@xnet.co.nz>2016-11-02 18:41:26 +1300
commitd73b45f2c5aca88d6d422528b51445612dbb8ebf (patch)
tree26afe5f217b06600969d1d26b46e52ca48d09362
parent46c596dace6c08f8c4786c1441c46ca204832261 (diff)
scn2674: correct the row on which a split occurs. Fixes Octopus display of the last row before the status line split.
-rw-r--r--src/devices/video/scn2674.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/scn2674.cpp b/src/devices/video/scn2674.cpp
index afd1a593785..318ba40a24a 100644
--- a/src/devices/video/scn2674.cpp
+++ b/src/devices/video/scn2674.cpp
@@ -676,7 +676,7 @@ void scn2674_device::device_timer(emu_timer &timer, device_timer_id id, int para
}
}
- if((m_linecounter == (m_IR12_split_register_1 * m_IR0_scanline_per_char_row)) && m_linecounter) /* Split Screen 1 */
+ if((m_linecounter == ((m_IR12_split_register_1+1) * m_IR0_scanline_per_char_row)) && m_linecounter) /* Split Screen 1 */
{
m_status_register |= 0x04;
if(m_irq_mask & 0x04)
@@ -692,7 +692,7 @@ void scn2674_device::device_timer(emu_timer &timer, device_timer_id id, int para
dw = m_IR14_double_1;
}
- if((m_linecounter == (m_IR13_split_register_2 * m_IR0_scanline_per_char_row)) && m_linecounter) /* Split Screen 2 */
+ if((m_linecounter == ((m_IR13_split_register_2+1) * m_IR0_scanline_per_char_row)) && m_linecounter) /* Split Screen 2 */
{
m_status_register |= 0x01;
if(m_irq_mask & 0x01)