scummvm/engines/queen
Thierry Crozat 60de72a73e QUEEN: Fix loading savegame from Launcher
Loading a savegame from the Launcher for FOTAQ was broken by
commit de879dd (QUEEN: Disable load/save until game is properly
initialized). The patch comes from libretro to fix an issue
described as "ScummVM allows you to load a previous save before
the game is properly initialised. At best, this leads to
undefined behaviour. Most of the time it causes a segfault."

This commit allows loading save game earlier than the original
patch so that loading savegames from the launcher works again.
I don't know the details of the issue that was seen in libretro,
but I tested this change with both address-sanitizer and valgrind
on both Linux and macOS, and neither tool report any issue when
loading a savegame from the launcher.

This fixes bug #11327 (FOTAQ: Loading save game from the launcher
doesn't work).
2020-05-19 01:40:13 +01:00
..
bankman.cpp
bankman.h
command.cpp
command.h
configure.engine
credits.cpp
credits.h
cutaway.cpp
cutaway.h
debug.cpp
debug.h
defs.h
detection.cpp
display.cpp
display.h
graphics.cpp
graphics.h
grid.cpp
grid.h
input.cpp
input.h
journal.cpp
journal.h
logic.cpp
logic.h
midiadlib.cpp
midiadlib.h
module.mk
music.cpp
music.h
musicdata.cpp
POTFILES
queen.cpp
queen.h
resource.cpp
resource.h
restables.cpp
sound.cpp
sound.h
state.cpp
state.h
structs.h
talk.cpp
talk.h
walk.cpp
walk.h
xref.txt