diff options
Diffstat (limited to 'src/lib/util/chd.c')
-rw-r--r-- | src/lib/util/chd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c index 10f85fce4f2..43539103d33 100644 --- a/src/lib/util/chd.c +++ b/src/lib/util/chd.c @@ -2665,6 +2665,11 @@ void chd_file_compressor::async_read() // advance the read pointer m_read_done_offset += numbytes; } + catch (chd_error& err) + { + fprintf(stderr, "CHD error occured: %s\n", chd_file::error_string(err)); + m_read_error = true; + } catch (std::exception& ex) { fprintf(stderr, "exception occured: %s\n", ex.what()); |