summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/discoboy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/discoboy.c')
-rw-r--r--src/mame/drivers/discoboy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/discoboy.c b/src/mame/drivers/discoboy.c
index 420f6ebeef1..53019051e0f 100644
--- a/src/mame/drivers/discoboy.c
+++ b/src/mame/drivers/discoboy.c
@@ -159,7 +159,7 @@ UINT32 discoboy_state::screen_update_discoboy(screen_device &screen, bitmap_ind1
g = ((pal >> 4) & 0xf) << 4;
r = ((pal >> 8) & 0xf) << 4;
- palette_set_color(screen.machine(), i / 2, MAKE_RGB(r, g, b));
+ palette_set_color(machine(), i / 2, MAKE_RGB(r, g, b));
}
for (i = 0; i < 0x800; i += 2)
@@ -172,7 +172,7 @@ UINT32 discoboy_state::screen_update_discoboy(screen_device &screen, bitmap_ind1
g = ((pal >> 4) & 0xf) << 4;
r = ((pal >> 8) & 0xf) << 4;
- palette_set_color(screen.machine(), (i / 2) + 0x400, MAKE_RGB(r, g, b));
+ palette_set_color(machine(), (i / 2) + 0x400, MAKE_RGB(r, g, b));
}
bitmap.fill(0x3ff, cliprect);
@@ -191,12 +191,12 @@ UINT32 discoboy_state::screen_update_discoboy(screen_device &screen, bitmap_ind1
tileno = 0x2000 + (tileno & 0x1fff) + 0x0000;
}
- drawgfx_opaque(bitmap, cliprect, screen.machine().gfx[1], tileno, m_ram_att[count / 2], 0, 0, x*8, y*8);
+ drawgfx_opaque(bitmap, cliprect, machine().gfx[1], tileno, m_ram_att[count / 2], 0, 0, x*8, y*8);
count += 2;
}
}
- draw_sprites(screen.machine(), bitmap, cliprect);
+ draw_sprites(machine(), bitmap, cliprect);
return 0;
}