mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
COMPOSER: Run kEventUnload when appropriate.
This commit is contained in:
parent
f40f8a1793
commit
0706588388
@ -381,6 +381,9 @@ void ComposerEngine::unloadLibrary(uint id) {
|
||||
|
||||
delete i->_archive;
|
||||
_libraries.erase(i);
|
||||
|
||||
runEvent(kEventUnload, id, 0, 0);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -590,7 +590,7 @@ int16 ComposerEngine::scriptFuncCall(uint16 id, int16 param1, int16 param2, int1
|
||||
_pendingPageChanges.push_back(PendingPageChange(param1, false));
|
||||
return 1;
|
||||
case kFuncUnloadPage:
|
||||
debug(3, "ignoring kFuncUnloadPage(%d)", param1);
|
||||
debug(3, "kFuncUnloadPage(%d)", param1);
|
||||
_pendingPageChanges.push_back(PendingPageChange(param1, true));
|
||||
return 1;
|
||||
case kFuncSetPalette:
|
||||
|
Loading…
x
Reference in New Issue
Block a user