summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-06 14:19:32 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-06 14:19:32 +0000
commit7b9cc374efbb87a8411f57a29e4d78a411088b45 (patch)
treeb572b2716375ea90f094eeb0960cede5c1a3c479 /src/lib
parent3281ac2cc9610f190e3d70a14025e2ea8d18106a (diff)
improved some error messages (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/chdcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/chdcd.c b/src/lib/util/chdcd.c
index e2d624b44f4..07f15044d77 100644
--- a/src/lib/util/chdcd.c
+++ b/src/lib/util/chdcd.c
@@ -164,7 +164,7 @@ static UINT32 parse_wav_sample(const char *filename, UINT32 *dataoffs)
if (offset < 4)
{
osd_close(file);
- printf("ERROR: unexpected offset %lu (%s)\n", actual, filename);
+ printf("ERROR: unexpected RIFF offset %lu (%s)\n", actual, filename);
return 0;
}
if (memcmp(&buf[0], "RIFF", 4) != 0)
@@ -180,7 +180,7 @@ static UINT32 parse_wav_sample(const char *filename, UINT32 *dataoffs)
if (offset < 8)
{
osd_close(file);
- printf("ERROR: unexpected offset %lu (%s)\n", actual, filename);
+ printf("ERROR: unexpected size offset %lu (%s)\n", actual, filename);
return 0;
}
filesize = LITTLE_ENDIANIZE_INT32(filesize);
@@ -191,7 +191,7 @@ static UINT32 parse_wav_sample(const char *filename, UINT32 *dataoffs)
if (offset < 12)
{
osd_close(file);
- printf("ERROR: unexpected offset %lu (%s)\n", actual, filename);
+ printf("ERROR: unexpected WAVE offset %lu (%s)\n", actual, filename);
return 0;
}
if (memcmp(&buf[0], "WAVE", 4) != 0)