summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/accomm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/accomm.cpp')
-rw-r--r--src/mame/drivers/accomm.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/accomm.cpp b/src/mame/drivers/accomm.cpp
index 4670a882007..9ef4100f7d1 100644
--- a/src/mame/drivers/accomm.cpp
+++ b/src/mame/drivers/accomm.cpp
@@ -238,17 +238,15 @@ uint32_t accomm_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap
{
int i;
int x = 0;
- int pal[16];
int scanline = screen.vpos();
rectangle r = cliprect;
- r.min_y = r.max_y = scanline;
+ r.sety(scanline, scanline);
if (scanline == 0)
- {
m_ula.screen_addr = m_ula.screen_start - m_ula.screen_base;
- }
/* set up palette */
+ int pal[16];
switch( m_ula.screen_mode )
{
case 0: case 3: case 4: case 6: case 7: /* 2 colour mode */