You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LuaMethod("load","Loads a savestate with the given path. If EmuHawk is deferring quicksaves, to TAStudio for example, that form will do what it likes (and the path is ignored).")]
14
-
publicvoidLoad(stringpath,boolsuppressOSD=false)
14
+
publicboolLoad(stringpath,boolsuppressOSD=false)
15
15
{
16
16
_luaLibsImpl.IsUpdateSupressed=true;
17
-
18
-
APIs.SaveState.Load(path,suppressOSD);
19
-
17
+
varsuccess=APIs.SaveState.Load(path,suppressOSD);
20
18
_luaLibsImpl.IsUpdateSupressed=false;
19
+
returnsuccess;
21
20
}
22
21
23
22
[LuaMethodExample("savestate.loadslot( 7 );")]
24
23
[LuaMethod("loadslot","Loads the savestate at the given slot number (must be an integer between 0 and 9). If EmuHawk is deferring quicksaves, to TAStudio for example, that form will do what it likes with the slot number.")]
0 commit comments