aboutsummaryrefslogtreecommitdiff
path: root/audio/audiostream.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-08-07 22:55:52 +0200
committerTorbjörn Andersson2014-08-07 22:55:52 +0200
commit278a14d96ef40acabaf038f70662be671d9093fc (patch)
treed7baeb6d42464b3101cc4fbb28acc5cd1ea6ca12 /audio/audiostream.cpp
parent42c9b1a2c18a5741bd5eeeaa3d33ca6f65ac235d (diff)
downloadscummvm-rg350-278a14d96ef40acabaf038f70662be671d9093fc.tar.gz
scummvm-rg350-278a14d96ef40acabaf038f70662be671d9093fc.tar.bz2
scummvm-rg350-278a14d96ef40acabaf038f70662be671d9093fc.zip
COMMON: Fix crash when quitting on "Game data not found" dialog
ScummVM would try to look up "confirm_exit" in the active domain, even though the active domain had been removed and pointed to an invalid address. To avoid this, try to keep _activeDomain and _activeDomainName updated if removeGameDomain() removes the active domain. For good measure, also do it if the active domain is removed by renameGameDomain(), though I don't know if there was any case where this would have caused trouble.
Diffstat (limited to 'audio/audiostream.cpp')
0 files changed, 0 insertions, 0 deletions