From be43e26824f6524b04e6b5305149418707a89f74 Mon Sep 17 00:00:00 2001 From: gocha Date: Thu, 9 Aug 2012 07:16:54 +0900 Subject: [PATCH] Lua: adjust initial savestate object size --- lua-engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua-engine.cpp b/lua-engine.cpp index 3afa37ad..6ec8aceb 100644 --- a/lua-engine.cpp +++ b/lua-engine.cpp @@ -1988,7 +1988,7 @@ DEFINE_LUA_FUNCTION(state_create, "[location]") } StateData& stateData = **ppStateData; - stateData.size = 0x40; + stateData.size = 0x200000; stateData.buffer = (uint8 *)malloc(stateData.size); if (stateData.buffer == NULL) {