GROOVIE: Avoid using bitfields in debugC()

This commit is contained in:
Eugene Sandulenko 2023-12-28 00:35:06 +01:00
parent 6090788468
commit 7fa224c45e
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
2 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ Cursor_t7g::Cursor_t7g(uint8 *img, uint8 *pal) :
_img = img + 5;
debugC(1, kDebugCursor, "Groovie::Cursor: width: %d, height: %d, frames:%d", _width, _height, _numFrames);
debugC(1, kDebugCursor | kDebugUnknown, "Groovie::Cursor: elinor: 0x%02X (%d), 0x%02X (%d)", elinor1, elinor1, elinor2, elinor2);
debugC(1, kDebugCursor, "Groovie::Cursor: elinor: 0x%02X (%d), 0x%02X (%d)", elinor1, elinor1, elinor2, elinor2);
}
void Cursor_t7g::enable() {

View File

@ -125,11 +125,11 @@ uint16 VDXPlayer::loadInternal() {
// Skip unknown data: 6 bytes, ref Martine
tmp = _file->readUint16LE();
debugC(2, kDebugVideo | kDebugUnknown, "Groovie::VDX: Martine1 = 0x%04X", tmp);
debugC(2, kDebugVideo, "Groovie::VDX: Martine1 = 0x%04X", tmp);
tmp = _file->readUint16LE();
debugC(2, kDebugVideo | kDebugUnknown, "Groovie::VDX: Martine2 = 0x%04X", tmp);
debugC(2, kDebugVideo, "Groovie::VDX: Martine2 = 0x%04X", tmp);
tmp = _file->readUint16LE();
debugC(2, kDebugVideo | kDebugUnknown, "Groovie::VDX: Martine3 (FPS?) = %d", tmp);
debugC(2, kDebugVideo, "Groovie::VDX: Martine3 (FPS?) = %d", tmp);
return tmp;
}
@ -150,7 +150,7 @@ bool VDXPlayer::playFrameInternal() {
if (_file->eos())
break;
debugC(5, kDebugVideo | kDebugUnknown, "Groovie::VDX: Edward = 0x%04X", tmp);
debugC(5, kDebugVideo, "Groovie::VDX: Edward = 0x%04X", tmp);
// Read the chunk data and decompress if needed
if (compSize)