aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2005-04-03 20:45:26 +0000
committerMarcus Comstedt2005-04-03 20:45:26 +0000
commit4187ed3e113736c88fea726a57aaf14612499408 (patch)
treea9ed8931be6b7b66b78a34fb517b1f70e9097497 /backends
parent167badf727496e35c245305742a39e0a2b555b75 (diff)
downloadscummvm-rg350-4187ed3e113736c88fea726a57aaf14612499408.tar.gz
scummvm-rg350-4187ed3e113736c88fea726a57aaf14612499408.tar.bz2
scummvm-rg350-4187ed3e113736c88fea726a57aaf14612499408.zip
Oops, cleared too large memory region...
svn-id: r17356
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;
}