diff options
Diffstat (limited to 'engines/groovie/vdx.cpp')
-rw-r--r-- | engines/groovie/vdx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index 75c42ef174..a8aba47ec6 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -54,8 +54,8 @@ void VDXPlayer::setOrigin(int16 x, int16 y) { } uint16 VDXPlayer::loadInternal() { - if (Common::isDebugChannelEnabled(kGroovieDebugVideo) || - Common::isDebugChannelEnabled(kGroovieDebugAll)) { + if (DebugMan.isDebugChannelEnabled(kGroovieDebugVideo) || + DebugMan.isDebugChannelEnabled(kGroovieDebugAll)) { int8 i; debugN(1, "Groovie::VDX: New VDX: bitflags are "); for (i = 15; i >= 0; i--) { @@ -175,7 +175,7 @@ bool VDXPlayer::playFrameInternal() { // Wait until the current frame can be shown - if (!Common::isDebugChannelEnabled(kGroovieDebugFast)) { + if (!DebugMan.isDebugChannelEnabled(kGroovieDebugFast)) { waitFrame(); } // TODO: Move it to a better place @@ -506,7 +506,7 @@ void VDXPlayer::chunkSound(Common::ReadStream *in) { byte *data = (byte *)malloc(60000); int chunksize = in->read(data, 60000); - if (!Common::isDebugChannelEnabled(kGroovieDebugFast)) { + if (!DebugMan.isDebugChannelEnabled(kGroovieDebugFast)) { _audioStream->queueBuffer(data, chunksize, DisposeAfterUse::YES, Audio::FLAG_UNSIGNED); } } |