diff options
author | Johannes Schickel | 2006-02-14 23:31:25 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-02-14 23:31:25 +0000 |
commit | 0bea9cf47b027ad8936751f48779046ca0a48bf9 (patch) | |
tree | 3a1f55143f6aefa46367c93ecb97523d87c2c439 /engines/kyra/wsamovie.cpp | |
parent | fc3cdbe5a9ff5feb4c765410d89b378fbf9daf68 (diff) | |
download | scummvm-rg350-0bea9cf47b027ad8936751f48779046ca0a48bf9.tar.gz scummvm-rg350-0bea9cf47b027ad8936751f48779046ca0a48bf9.tar.bz2 scummvm-rg350-0bea9cf47b027ad8936751f48779046ca0a48bf9.zip |
Made the kyra debug extensions more generic, i.e. scumm engine could replace
their debugC calls now with the new introduced debugC calls.
(A mail how to use it will follow shortly on -devel)
Also now these special engine debug flags can be specified from the commandline.
Also made the -c & --config parameter check more secure.
svn-id: r20695
Diffstat (limited to 'engines/kyra/wsamovie.cpp')
-rw-r--r-- | engines/kyra/wsamovie.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/wsamovie.cpp b/engines/kyra/wsamovie.cpp index df511aaae8..8b2ba579c6 100644 --- a/engines/kyra/wsamovie.cpp +++ b/engines/kyra/wsamovie.cpp @@ -31,7 +31,7 @@ WSAMovieV1::WSAMovieV1(KyraEngine *vm) : Movie(vm) {} WSAMovieV1::~WSAMovieV1() { close(); } void WSAMovieV1::open(const char *filename, int offscreenDecode, uint8 *palBuf) { - debug(9, kDebugLevelMovie, "WSAMovieV1::open('%s', %d, 0x%X)", filename, offscreenDecode, palBuf); + debugC(9, kDebugLevelMovie, "WSAMovieV1::open('%s', %d, 0x%X)", filename, offscreenDecode, palBuf); close(); uint32 flags = 0; @@ -110,7 +110,7 @@ void WSAMovieV1::open(const char *filename, int offscreenDecode, uint8 *palBuf) } void WSAMovieV1::close() { - debug(9, kDebugLevelMovie, "WSAMovieV1::close()"); + debugC(9, kDebugLevelMovie, "WSAMovieV1::close()"); if (_opened) { delete [] _deltaBuffer; delete [] _offscreenBuffer; @@ -121,7 +121,7 @@ void WSAMovieV1::close() { } void WSAMovieV1::displayFrame(int frameNum) { - debug(9, kDebugLevelMovie, "WSAMovieV1::displayFrame(%d)", frameNum); + debugC(9, kDebugLevelMovie, "WSAMovieV1::displayFrame(%d)", frameNum); if (frameNum >= _numFrames || !_opened) return; @@ -191,7 +191,7 @@ void WSAMovieV1::displayFrame(int frameNum) { } void WSAMovieV1::processFrame(int frameNum, uint8 *dst) { - debug(9, kDebugLevelMovie, "WSAMovieV1::processFrame(%d, 0x%X)", frameNum, dst); + debugC(9, kDebugLevelMovie, "WSAMovieV1::processFrame(%d, 0x%X)", frameNum, dst); if (!_opened) return; assert(frameNum <= _numFrames); |