From 99d86de66f1bedcb0c93870fe6b6f34d4179d124 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 13 Feb 2023 20:35:19 +0100 Subject: [PATCH] SAGA2: Hid noisy warning --- engines/saga2/blitters.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/saga2/blitters.cpp b/engines/saga2/blitters.cpp index 1a9d2b0e12a..a297c5bbb42 100644 --- a/engines/saga2/blitters.cpp +++ b/engines/saga2/blitters.cpp @@ -122,7 +122,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) { byte trans = stream.readByte(); if (stream.eos()) { - warning("unpackSprite: premature end of data"); + debug(8, "unpackSprite: premature end of data #1"); fail = true; break; } @@ -144,7 +144,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) { byte fill = stream.readByte(); if (stream.eos()) { - warning("unpackSprite: premature end of data"); + debug(8, "unpackSprite: premature end of data #2"); fail = true; break; } @@ -156,7 +156,7 @@ void unpackSprite(gPixelMap *map, uint8 *sprData, uint32 dataSize) { fail = true; } if (stream.read(dst, fill) != fill) { - warning("unpackSprite: premature end of data"); + debug(8, "unpackSprite: premature end of data #3"); fail = true; break; }