diff options
Diffstat (limited to 'engines/sci/gfx/gfx_resource.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gfx/gfx_resource.cpp b/engines/sci/gfx/gfx_resource.cpp index 779a87a3e1..74c8f905f2 100644 --- a/engines/sci/gfx/gfx_resource.cpp +++ b/engines/sci/gfx/gfx_resource.cpp @@ -195,7 +195,7 @@ gfx_pixmap_t *gfxr_endianness_adjust(gfx_pixmap_t *pixmap, gfx_mode_t *mode) { break; default: - error("gfxr_endianness_adjust(): Cannot adjust endianness for %d bytespp", bytespp); + fprintf(stderr, "gfxr_endianness_adjust(): Cannot adjust endianness for %d bytespp!\n", bytespp); return NULL; } @@ -357,7 +357,7 @@ void gfx_xlate_pixmap(gfx_pixmap_t *pxm, gfx_mode_t *mode, gfx_xlate_filter_t fi for (i = 0; i < pxm->colors_nr; i++) { if (gfx_alloc_color(mode->palette, pxm->colors + i) < 0) { - GFXWARN("Failed to allocate color %d/%d in pixmap (color %02x/%02x/%02x)", + GFXWARN("Failed to allocate color %d/%d in pixmap (color %02x/%02x/%02x)!\n", i, pxm->colors_nr, pxm->colors[i].r, pxm->colors[i].g, pxm->colors[i].b); pxm->colors[i].global_index = 0; } |