aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/res_pal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gfx/res_pal.cpp')
-rw-r--r--engines/sci/gfx/res_pal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/gfx/res_pal.cpp b/engines/sci/gfx/res_pal.cpp
index 0acc27a9b1..97e7297d43 100644
--- a/engines/sci/gfx/res_pal.cpp
+++ b/engines/sci/gfx/res_pal.cpp
@@ -76,7 +76,7 @@ Palette *gfxr_read_pal1(int id, byte *resource, int size) {
unsigned int colors[MAX_COLORS] = {0};
if (size < PALETTE_START + 4) {
- GFXERROR("Palette resource too small in %04x\n", id);
+ error("Palette resource too small in %04x", id);
return NULL;
}
@@ -88,7 +88,7 @@ Palette *gfxr_read_pal1(int id, byte *resource, int size) {
}
if (counter < MAX_COLORS) {
- GFXERROR("Palette %04x ends prematurely\n", id);
+ error("SCI1 palette %04x ends prematurely", id);
return NULL;
}
@@ -117,7 +117,7 @@ Palette *gfxr_read_pal1_amiga(Common::File &file) {
b2 = file.readByte();
if (b1 == EOF || b2 == EOF) {
- GFXERROR("Palette file ends prematurely\n");
+ error("Amiga palette file ends prematurely");
return NULL;
}