aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/dc/display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp
index fd6d84fec6..04ab8d6481 100644
--- a/backends/dc/display.cpp
+++ b/backends/dc/display.cpp
@@ -510,7 +510,7 @@ void OSystem_Dreamcast::clearOverlay()
if(!_overlay_visible)
return;
- memset(overlay, 0, OVL_TXSTRIDE*OVL_H*sizeof(unsigned short));
+ memset(overlay, 0, OVL_W*OVL_H*sizeof(unsigned short));
_overlay_dirty = true;
}