aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/util.h
diff options
context:
space:
mode:
authorColin Snover2017-05-07 14:09:58 -0500
committerColin Snover2017-05-08 11:26:46 -0500
commit554a73e01209643161f8adecba825a5bc39f87f8 (patch)
tree79b9823307b1b472c761f0e6143ec90f634fa9eb /engines/sci/util.h
parent23abcffbc5bc2f3e74d4725af1d292db0421054b (diff)
downloadscummvm-rg350-554a73e01209643161f8adecba825a5bc39f87f8.tar.gz
scummvm-rg350-554a73e01209643161f8adecba825a5bc39f87f8.tar.bz2
scummvm-rg350-554a73e01209643161f8adecba825a5bc39f87f8.zip
SCI: Improve detection and reporting of resource errors
Simple assertions in the resource manager are not sufficient to track down resource corruption issues, and some error conditions that were being checked already were either ignored or only raised as warnings that casual users would be unlikely to see. Ideally, error handling in ResourceManager would be improved to the point where errors would correctly propagate out of it (so the warning dialogue could be displayed from outside), but right now error codes are dropped all over the place, and it would take more effort to fix that without much benefit for the current situation. If/until someone has the energy to fix that, the warning dialogue is simply shown from ResourceManager::scanNewSources. Refs Trac#9764.
Diffstat (limited to 'engines/sci/util.h')
0 files changed, 0 insertions, 0 deletions