mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
HDB: Remove non-functioning code
This commit is contained in:
parent
6fe1d65ca7
commit
d0b5e0fbc7
@ -1206,11 +1206,6 @@ static int openFile(lua_State *L) {
|
||||
lua_pop(L, 2);
|
||||
|
||||
if (!scumm_stricmp(mode, "wt")) {
|
||||
// Delete Lua Save File
|
||||
Common::InSaveFile *inLua = g_system->getSavefileManager()->openForLoading(fName);
|
||||
if (inLua)
|
||||
delete inLua;
|
||||
|
||||
Common::OutSaveFile *outLua = g_system->getSavefileManager()->openForSaving(fName);
|
||||
if (!outLua)
|
||||
error("Cannot open %s", fName);
|
||||
|
Loading…
Reference in New Issue
Block a user