summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tv912.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tv912.cpp')
-rw-r--r--src/mame/drivers/tv912.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/tv912.cpp b/src/mame/drivers/tv912.cpp
index 0b36e40e6a9..7ae5f02895a 100644
--- a/src/mame/drivers/tv912.cpp
+++ b/src/mame/drivers/tv912.cpp
@@ -294,9 +294,11 @@ u32 tv912_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, cons
rectangle curs;
m_crtc->cursor_bounds(curs);
+ int scroll = m_crtc->upscroll_offset();
+
for (int y = cliprect.top(); y <= cliprect.bottom(); y++)
{
- int row = y / 10;
+ int row = ((y / 10) + scroll) % 24;
int ra = y % 10;
int x = 0;
u8 *charbase = &m_p_chargen[(ra & 7) | BIT(videoctrl, 1) << 10];