Skip to content

Commit

Permalink
gsdx replayer: improve error message when file is corrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory38 committed Sep 18, 2016
1 parent ac1b384 commit 2a60264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GSdx/GSLzma.cpp
Expand Up @@ -152,7 +152,7 @@ void GSDumpRaw::Read(void* ptr, size_t size) {
} else {
size_t ret = fread(ptr, 1, size, m_fp);
if (ret != size) {
fprintf(stderr, "GSDumpRaw:: Read error\n");
fprintf(stderr, "GSDumpRaw:: Read error (%d/%d)\n", ret, size);
throw "BAD"; // Just exit the program
}
}
Expand Down

0 comments on commit 2a60264

Please sign in to comment.