From 408f0fd022ea92955e5ebd0b2f6bfeae1daa819e Mon Sep 17 00:00:00 2001 From: disinvite Date: Sun, 19 Jan 2025 12:31:23 -0500 Subject: [PATCH] Change param type for GetFileSavePath --- LEGO1/lego/legoomni/include/legogamestate.h | 2 +- LEGO1/lego/legoomni/src/common/legogamestate.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legogamestate.h b/LEGO1/lego/legoomni/include/legogamestate.h index 99c060d9..5b41a966 100644 --- a/LEGO1/lego/legoomni/include/legogamestate.h +++ b/LEGO1/lego/legoomni/include/legogamestate.h @@ -193,7 +193,7 @@ class LegoGameState { LegoState* GetState(const char* p_stateName); LegoState* CreateState(const char* p_stateName); - void GetFileSavePath(MxString* p_outPath, MxU8 p_slotn); + void GetFileSavePath(MxString* p_outPath, MxS16 p_slotn); void StopArea(Area p_area); void SwitchArea(Area p_area); void Init(); diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 26c8a328..1b852323 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -252,6 +252,7 @@ void LegoGameState::ResetROI() } // FUNCTION: LEGO1 0x10039980 +// FUNCTION: BETA10 0x100840e4 MxResult LegoGameState::Save(MxULong p_slot) { InfocenterState* infocenterState = (InfocenterState*) GameState()->GetState("InfocenterState"); @@ -550,7 +551,8 @@ MxS32 LegoGameState::ReadVariable(LegoStorage* p_storage, MxVariableTable* p_to) } // FUNCTION: LEGO1 0x1003a170 -void LegoGameState::GetFileSavePath(MxString* p_outPath, MxU8 p_slotn) +// FUNCTION: BETA10 0x10084b45 +void LegoGameState::GetFileSavePath(MxString* p_outPath, MxS16 p_slotn) { char baseForSlot[2] = "0"; char path[1024] = "";