summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/saa5050.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/saa5050.cpp')
-rw-r--r--src/devices/video/saa5050.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/video/saa5050.cpp b/src/devices/video/saa5050.cpp
index 77af6be01ea..b873edfbbb9 100644
--- a/src/devices/video/saa5050.cpp
+++ b/src/devices/video/saa5050.cpp
@@ -661,9 +661,7 @@ uint32_t saa5050_device::screen_update(screen_device &screen, bitmap_rgb32 &bitm
int g = BIT(color, 1) * 0xff;
int b = BIT(color, 2) * 0xff;
- rgb_t rgb = rgb_t(r, g, b);
-
- bitmap.pix32(y, x++) = rgb;
+ bitmap.pix(y, x++) = rgb_t(r, g, b);
}
}
}