[Scummvm-git-logs] scummvm master -> 9fd976bb0e9292e938fa6d845a2020e6a624f4e0
Die4Ever
noreply at scummvm.org
Sun Feb 13 05:05:15 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9fd976bb0e GROOVIE: fix debug dumpAllSurfaces call
Commit: 9fd976bb0e9292e938fa6d845a2020e6a624f4e0
https://github.com/scummvm/scummvm/commit/9fd976bb0e9292e938fa6d845a2020e6a624f4e0
Author: Die4Ever (die4ever2005 at gmail.com)
Date: 2022-02-12T23:05:03-06:00
Commit Message:
GROOVIE: fix debug dumpAllSurfaces call
Changed paths:
engines/groovie/video/roq.cpp
diff --git a/engines/groovie/video/roq.cpp b/engines/groovie/video/roq.cpp
index 3740b13f0b9..61b0f38807d 100644
--- a/engines/groovie/video/roq.cpp
+++ b/engines/groovie/video/roq.cpp
@@ -398,16 +398,16 @@ void ROQPlayer::buildShowBuf() {
}
}
- if (gDebugLevel >= 9 && DebugMan.isDebugChannelEnabled(kDebugVideo)) {
- dumpAllSurfaces();
- }
-
if (!_flagNoPlay) {
_vm->_system->unlockScreen();
_vm->_system->updateScreen();
}
_dirty = false;
+ if (gDebugLevel >= 9 && DebugMan.isDebugChannelEnabled(kDebugVideo)) {
+ dumpAllSurfaces();
+ }
+
// On the first frame, copy from the current buffer to the prev buffer
if (_firstFrame) {
_prevBuf->copyFrom(*_currBuf);
@@ -985,7 +985,7 @@ void ROQPlayer::copyfgtobg(uint8 arg) {
// TODO: the arg isn't handled yet
// but since we're doing a full redraw of all layers we might not need to care about the arg
debugC(2, kDebugVideo, "Groovie::ROQ: copyfgtobg (0x%02X)", arg);
-
+
redrawRestoreArea(_screen->h == 480 ? 0 : 80, true);
_vm->_system->updateScreen();
}
More information about the Scummvm-git-logs
mailing list