diff options
author | Torbjörn Andersson | 2014-08-07 22:55:52 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2014-08-07 22:55:52 +0200 |
commit | 278a14d96ef40acabaf038f70662be671d9093fc (patch) | |
tree | d7baeb6d42464b3101cc4fbb28acc5cd1ea6ca12 /audio/audiostream.cpp | |
parent | 42c9b1a2c18a5741bd5eeeaa3d33ca6f65ac235d (diff) | |
download | scummvm-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