mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Add more detailed error message for "Chunk overread" case.
svn-id: r40493
This commit is contained in:
parent
eb8ddbe8f4
commit
619d107ed7
@ -162,7 +162,7 @@ public:
|
||||
void incBytesRead(uint32 inc) {
|
||||
bytesRead += inc;
|
||||
if (bytesRead > size) {
|
||||
error("Chunk overread");
|
||||
error("Chunk '%s' overread", ID2string(id));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user