From 904c4c9c138ae657614d7bc5e9e969606824901d Mon Sep 17 00:00:00 2001 From: EmeraldLockdown <86802223+EmeraldLoc@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:49:23 -0500 Subject: [PATCH] Change MAX_KEY_VALUE_LENGTH to 512 (#386) --- autogen/lua_definitions/constants.lua | 6 +++--- src/pc/lua/smlua_constants_autogen.c | 6 +++--- src/pc/mods/mod_storage.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/autogen/lua_definitions/constants.lua b/autogen/lua_definitions/constants.lua index f5ae7037..d65909bd 100644 --- a/autogen/lua_definitions/constants.lua +++ b/autogen/lua_definitions/constants.lua @@ -5502,7 +5502,7 @@ MARIO_HAND_RIGHT_OPEN = 5 MAX_KEYS = 512 --- @type integer -MAX_KEY_VALUE_LENGTH = 256 +MAX_KEY_VALUE_LENGTH = 512 --- @type integer PACKET_LENGTH = 3000 @@ -12491,10 +12491,10 @@ SPTASK_STATE_FINISHED_DP = 4 MAX_VERSION_LENGTH = 32 --- @type integer -MINOR_VERSION_NUMBER = 2 +MINOR_VERSION_NUMBER = 3 --- @type string -SM64COOPDX_VERSION = "v1.0.3" +SM64COOPDX_VERSION = "v1.0.4" --- @type integer VERSION_NUMBER = 37 diff --git a/src/pc/lua/smlua_constants_autogen.c b/src/pc/lua/smlua_constants_autogen.c index f80a2607..1b66ca23 100644 --- a/src/pc/lua/smlua_constants_autogen.c +++ b/src/pc/lua/smlua_constants_autogen.c @@ -2021,7 +2021,7 @@ char gSmluaConstants[] = "" "GRAB_POS_HEAVY_OBJ = 2\n" "GRAB_POS_BOWSER = 3\n" "MAX_KEYS = 512\n" -"MAX_KEY_VALUE_LENGTH = 256\n" +"MAX_KEY_VALUE_LENGTH = 512\n" "SYNC_DISTANCE_ONLY_DEATH = -1\n" "SYNC_DISTANCE_ONLY_EVENTS = -2\n" "SYNC_DISTANCE_INFINITE = 0\n" @@ -4339,10 +4339,10 @@ char gSmluaConstants[] = "" "COOP_OBJ_FLAG_LUA = (1 << 1)\n" "COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n" "COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n" -"SM64COOPDX_VERSION = 'v1.0.3'\n" +"SM64COOPDX_VERSION = 'v1.0.4'\n" "VERSION_TEXT = 'v'\n" "VERSION_NUMBER = 37\n" -"MINOR_VERSION_NUMBER = 2\n" +"MINOR_VERSION_NUMBER = 3\n" "VERSION_REGION = 'JP'\n" "VERSION_REGION = 'EU'\n" "VERSION_REGION = 'SH'\n" diff --git a/src/pc/mods/mod_storage.h b/src/pc/mods/mod_storage.h index 3661807b..d11de775 100644 --- a/src/pc/mods/mod_storage.h +++ b/src/pc/mods/mod_storage.h @@ -8,7 +8,7 @@ extern "C" { #endif #define MAX_KEYS 512 -#define MAX_KEY_VALUE_LENGTH 256 +#define MAX_KEY_VALUE_LENGTH 512 #define SAVE_DIRECTORY "sav" #define SAVE_EXTENSION ".sav"