mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +00:00
Merge pull request #818 from inguin/emi-new-game
EMI: Fix crash when restarting the game
This commit is contained in:
commit
8a0a264c29
@ -38,6 +38,11 @@ end
|
||||
|
||||
--Overwrite stock loadprefs function
|
||||
system_prefs.loadprefs = function(table, filename)
|
||||
--avoid installing tag methods repeatedly when starting a new game
|
||||
if system_prefs.defaults_cfg ~= nil then
|
||||
return
|
||||
end
|
||||
|
||||
PrintDebug("Function system_prefs.loadprefs modified for ResidualVM loaded")
|
||||
|
||||
--save old cfg table as default values
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user