summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/leland.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-26 13:42:51 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-26 13:42:51 +0000
commit229d5989898bc1abae0b5beee4825d1a1c673be0 (patch)
tree447a6b28d527a46eb0a1ec2cacc8f4641aded023 /src/mame/video/leland.c
parent6d7ed9b5739db3476f5c5d6d21ab26a16b8d99db (diff)
Cleanups and version bump.mame0127u5
Diffstat (limited to 'src/mame/video/leland.c')
-rw-r--r--src/mame/video/leland.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/leland.c b/src/mame/video/leland.c
index da76f5503de..1f6f12677e9 100644
--- a/src/mame/video/leland.c
+++ b/src/mame/video/leland.c
@@ -55,17 +55,17 @@ static TIMER_CALLBACK( scanline_callback )
int scanline = param;
/* update the DACs */
-
+
if (!(leland_dac_control & 0x01))
leland_dac_update(0, leland_video_ram[(last_scanline) * 256 + 160]);
if (!(leland_dac_control & 0x02))
leland_dac_update(1, leland_video_ram[(last_scanline) * 256 + 161]);
-
+
last_scanline = scanline;
scanline = (scanline+1) % 256;
-
+
if (scanline == 0)
{
/* turn off the DACs at the start of the frame */
@@ -90,7 +90,7 @@ static VIDEO_START( leland )
/* reset videoram */
memset(leland_video_ram, 0, VRAM_SIZE);
-
+
/* scanline timer */
scanline_timer = timer_alloc(scanline_callback, NULL);
timer_adjust_oneshot(scanline_timer, video_screen_get_time_until_pos(machine->primary_screen, 0, 0), 0);