SCI: now pausing/unpausing music in replaced restore dialog
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental svn-id: r52318
This commit is contained in:
parent
f1f24b7b28
commit
d5d8434fd6
3 changed files with 49 additions and 25 deletions
|
@ -347,8 +347,20 @@ void SciEngine::patchGameSaveRestore(SegManager *segMan) {
|
|||
const uint16 kernelCount = _kernel->getKernelNamesSize();
|
||||
byte kernelIdRestore = 0;
|
||||
|
||||
// DISABLE NEXT LINE FOR REPLACING SIERRA GAME RESTORE DIALOG WITH SCUMMVM RESTORE
|
||||
return;
|
||||
// this feature is currently not supported on SCI32
|
||||
if (getSciVersion() >= SCI_VERSION_2)
|
||||
return;
|
||||
|
||||
switch (_gameId) {
|
||||
case GID_MOTHERGOOSE256: // mother goose saves/restores directly and has no save/restore dialogs
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Common::String replaceDialogOption = ConfMan.get("scireplacedialog", Common::ConfigManager::kApplicationDomain);
|
||||
if (replaceDialogOption == "")
|
||||
return;
|
||||
|
||||
for (uint16 kernelNr = 0; kernelNr < kernelCount; kernelNr++) {
|
||||
Common::String kernelName = _kernel->getKernelName(kernelNr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue