From 655206c95c0519d79ae02b7cb15190ec9c8fb6ec Mon Sep 17 00:00:00 2001 From: Mark Langen Date: Sat, 15 Jul 2023 20:05:20 -0700 Subject: [PATCH] Add offset to endOfVariables --- LEGO1/legogamestate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LEGO1/legogamestate.cpp b/LEGO1/legogamestate.cpp index d62b3b50..0ca0e6ca 100644 --- a/LEGO1/legogamestate.cpp +++ b/LEGO1/legogamestate.cpp @@ -102,7 +102,9 @@ ColorStringStruct g_colorSaveData[43] = { {"c_chseaty0", "lego white"}, }; -// Move this into the appropriate header +// NOTE: This offset = the end of the variables table, the last entry +// in that table is a special entry, the string "END_OF_VARIABLES" +// OFFSET: LEGO1 0x100f3e50 extern const char *s_endOfVariables; // OFFSET: LEGO1 0x1003a020