aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/vdx.cpp
diff options
context:
space:
mode:
authorMax Horn2009-01-30 04:52:53 +0000
committerMax Horn2009-01-30 04:52:53 +0000
commit76deee02d6b2638cd04be6cfb50aaf217b6252ee (patch)
tree2662abc9deec308936693cbf7b95c19b30039b9c /engines/groovie/vdx.cpp
parentde7c89e38143ccac34e5228d5591a2738f27a661 (diff)
downloadscummvm-rg350-76deee02d6b2638cd04be6cfb50aaf217b6252ee.tar.gz
scummvm-rg350-76deee02d6b2638cd04be6cfb50aaf217b6252ee.tar.bz2
scummvm-rg350-76deee02d6b2638cd04be6cfb50aaf217b6252ee.zip
Some more 'special debug levels' tweaks
svn-id: r36140
Diffstat (limited to 'engines/groovie/vdx.cpp')
-rw-r--r--engines/groovie/vdx.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp
index aa5196c5c9..2e5cb2dbe9 100644
--- a/engines/groovie/vdx.cpp
+++ b/engines/groovie/vdx.cpp
@@ -49,7 +49,8 @@ void VDXPlayer::setOrigin(int16 x, int16 y) {
}
uint16 VDXPlayer::loadInternal() {
- if (Common::isSpecialDebugLevelEnabled(kGroovieDebugVideo | kGroovieDebugAll)) {
+ if (Common::isSpecialDebugLevelEnabled(kGroovieDebugVideo) ||
+ Common::isSpecialDebugLevelEnabled(kGroovieDebugAll)) {
int8 i;
debugN(1, "Groovie::VDX: New VDX: bitflags are ");
for (i = 15; i >= 0; i--) {
@@ -161,7 +162,7 @@ bool VDXPlayer::playFrameInternal() {
// Wait until the current frame can be shown
- if (!(Common::getEnabledSpecialDebugLevels() & kGroovieDebugFast)) {
+ if (!Common::isSpecialDebugLevelEnabled(kGroovieDebugFast)) {
waitFrame();
}
// TODO: Move it to a better place
@@ -492,7 +493,7 @@ void VDXPlayer::chunkSound(Common::ReadStream *in) {
byte *data = new byte[60000];
int chunksize = in->read(data, 60000);
- if (!(Common::getEnabledSpecialDebugLevels() & kGroovieDebugFast)) {
+ if (!Common::isSpecialDebugLevelEnabled(kGroovieDebugFast)) {
_audioStream->queueBuffer(data, chunksize);
}
}