diff options
author | Aaron Giles <aaron@aarongiles.com> | 2012-01-16 11:06:28 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2012-01-16 11:06:28 +0000 |
commit | 59d84eb1b05c653c1e5c727e648e807bc8340baf (patch) | |
tree | 837413310dbe2d9b678860c072206bb244e8e693 /src/emu/machine/s3c24xx.c | |
parent | 051af55fa90955e11ba7fb08b586ba3227c4f7d1 (diff) |
Fix several rendering issues with artwork, introduced in the
recent changes.
Also, did a pass through the code to take advantage of new
methods available on rectangles.
Diffstat (limited to 'src/emu/machine/s3c24xx.c')
-rw-r--r-- | src/emu/machine/s3c24xx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/machine/s3c24xx.c b/src/emu/machine/s3c24xx.c index 5e1911a8630..7c7e2dc7b12 100644 --- a/src/emu/machine/s3c24xx.c +++ b/src/emu/machine/s3c24xx.c @@ -937,10 +937,7 @@ static int s3c24xx_lcd_configure_stn( device_t *device) } height = lineval + 1; s3c24xx->lcd.framerate = framerate; - visarea.min_x = 0; - visarea.min_y = 0; - visarea.max_x = width - 1; - visarea.max_y = height - 1; + visarea.set(0, width - 1, 0, height - 1); verboselog( device->machine(), 3, "LCD - visarea min_x %d min_y %d max_x %d max_y %d\n", visarea.min_x, visarea.min_y, visarea.max_x, visarea.max_y); verboselog( device->machine(), 3, "video_screen_configure %d %d %f\n", width, height, s3c24xx->lcd.framerate); s3c24xx->lcd.hpos_min = 0; |