mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
GRIM: Make the savegames compatible with 1.1 again. Bump to 22.9
New Lua's internal functions (int_funcs array in lbuiltin.cpp) must be added to the bottom, and the savegame's minor version must be increased.
This commit is contained in:
parent
3fc3ed1caa
commit
be9b11570e
@ -511,13 +511,13 @@ static struct luaL_reg int_funcs[] = {
|
||||
{ "stop_script", stop_script },
|
||||
{ "next_script", next_script },
|
||||
{ "identify_script", identify_script },
|
||||
{ "pause_script", pause_script },
|
||||
{ "pause_scripts", pause_scripts },
|
||||
{ "unpause_script", unpause_script },
|
||||
{ "unpause_scripts", unpause_scripts },
|
||||
{ "find_script", find_script },
|
||||
{ "sleep_for", sleep_for },
|
||||
{ "break_here", break_here }
|
||||
{ "break_here", break_here },
|
||||
{ "pause_script", pause_script },
|
||||
{ "unpause_script", unpause_script }
|
||||
};
|
||||
|
||||
void luaB_predefine() {
|
||||
|
@ -35,7 +35,7 @@ namespace Grim {
|
||||
#define SAVEGAME_FOOTERTAG 'ESAV'
|
||||
|
||||
uint SaveGame::SAVEGAME_MAJOR_VERSION = 22;
|
||||
uint SaveGame::SAVEGAME_MINOR_VERSION = 8;
|
||||
uint SaveGame::SAVEGAME_MINOR_VERSION = 9;
|
||||
|
||||
SaveGame *SaveGame::openForLoading(const Common::String &filename) {
|
||||
Common::InSaveFile *inSaveFile = g_system->getSavefileManager()->openForLoading(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user