added sections/banks to SYNC api

This commit is contained in:
BADIM-PC\Vadim
2017-12-14 10:54:23 +03:00
parent e956330af1
commit 62a64515ef
6 changed files with 36 additions and 21 deletions

View File

@@ -752,7 +752,7 @@ static s32 lua_sync(lua_State* lua)
if(lua_gettop(lua) >= 1)
toCart = lua_toboolean(lua, 1);
memory->api.sync(memory, toCart);
memory->api.sync(memory, tic_bank_all, 0, toCart);
return 0;
}