1 bank for non Pro build

This commit is contained in:
BADIM-PC\Vadim
2017-12-14 17:19:35 +03:00
parent 295dd90766
commit 272f6af991
3 changed files with 17 additions and 11 deletions

View File

@@ -981,7 +981,7 @@ static s32 lua_pmem(lua_State *lua)
{
u32 index = getLuaNumber(lua, 1);
if(index >= 0 && index < TIC_PERSISTENT_SIZE)
if(index < TIC_PERSISTENT_SIZE)
{
s32 val = memory->ram.persistent.data[index];