From a3201b066d0308262c7dda0af0e33beced18cefc Mon Sep 17 00:00:00 2001 From: aliaspider Date: Fri, 12 Dec 2014 02:54:41 +0100 Subject: increase savestate size, was smaller than what was required for 64-bit builds. --- gba_memory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gba_memory.h b/gba_memory.h index 4405547..cdbf16b 100644 --- a/gba_memory.h +++ b/gba_memory.h @@ -219,7 +219,8 @@ static inline void state_mem_write(const void* src, size_t size) state_mem_write_ptr += size; } -#define GBA_STATE_MEM_SIZE 429640 +/* this is an upper limit, ToDo : calculate the exact state size */ +#define GBA_STATE_MEM_SIZE (512*1024) #define state_mem_write_array(array) state_mem_write(array, sizeof(array)) #define state_mem_write_variable(variable) state_mem_write(&variable, sizeof(variable)) -- cgit v1.2.3