aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-11 20:01:27 +0200
committerEugene Sandulenko2013-12-11 20:01:27 +0200
commit2dac2599fe222751595b2c99e15ee297432f7704 (patch)
treed0d7f423ba6436dd4b45d13dfacb29562bf513ff
parent51d8365232788704f1bda46d8f2671c4c835a866 (diff)
downloadscummvm-rg350-2dac2599fe222751595b2c99e15ee297432f7704.tar.gz
scummvm-rg350-2dac2599fe222751595b2c99e15ee297432f7704.tar.bz2
scummvm-rg350-2dac2599fe222751595b2c99e15ee297432f7704.zip
FULLPIPE: Clean full screen on each frame as corrected by LordHoto
-rw-r--r--engines/fullpipe/gfx.cpp4
-rw-r--r--engines/fullpipe/scene.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index a4dbc30669..d54f7591b4 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -659,8 +659,8 @@ void Picture::displayPicture() {
if (!_dataSize)
return;
- g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 799, 599), 0);
- g_fullpipe->_system->copyRectToScreen(g_fullpipe->_backgroundSurface.getBasePtr(0, 0), g_fullpipe->_backgroundSurface.pitch, 0, 0, 799, 599);
+ g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 800, 600), 0);
+ g_fullpipe->_system->copyRectToScreen(g_fullpipe->_backgroundSurface.getBasePtr(0, 0), g_fullpipe->_backgroundSurface.pitch, 0, 0, 800, 600);
draw(0, 0, 0, 0);
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index 099d85e670..a5a286cfcb 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -451,7 +451,7 @@ void Scene::draw() {
updateScrolling();
// Clean previous stuff
- g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 799, 599), 0);
+ g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 800, 600), 0);
drawContent(60000, 0, true);