summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/jangou_blitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/jangou_blitter.cpp')
-rw-r--r--src/devices/video/jangou_blitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/jangou_blitter.cpp b/src/devices/video/jangou_blitter.cpp
index 326bf98fc6a..b8718b2ba20 100644
--- a/src/devices/video/jangou_blitter.cpp
+++ b/src/devices/video/jangou_blitter.cpp
@@ -92,7 +92,7 @@ void jangou_blitter_device::device_start()
void jangou_blitter_device::device_reset()
{
- memset(m_pen_data, 0, ARRAY_LENGTH(m_pen_data));
+ std::fill(std::begin(m_pen_data), std::end(m_pen_data), 0);
m_bltflip = false;
m_src_addr = 0;
}