diff options
author | aliaspider | 2014-12-12 02:54:41 +0100 |
---|---|---|
committer | aliaspider | 2014-12-12 02:54:41 +0100 |
commit | a3201b066d0308262c7dda0af0e33beced18cefc (patch) | |
tree | 6c5dcd8e12134ecaa19f270a85cd949b5fe28b48 | |
parent | bedf50b36f454ee2ed1aef2e2b3688def214a394 (diff) | |
download | picogpsp-a3201b066d0308262c7dda0af0e33beced18cefc.tar.gz picogpsp-a3201b066d0308262c7dda0af0e33beced18cefc.tar.bz2 picogpsp-a3201b066d0308262c7dda0af0e33beced18cefc.zip |
increase savestate size, was smaller than what was required for 64-bit
builds.
-rw-r--r-- | gba_memory.h | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |