Change param type for GetFileSavePath

This commit is contained in:
disinvite 2025-01-19 12:31:23 -05:00
parent 31c0948241
commit 408f0fd022
2 changed files with 4 additions and 2 deletions

View File

@ -193,7 +193,7 @@ class LegoGameState {
LegoState* GetState(const char* p_stateName); LegoState* GetState(const char* p_stateName);
LegoState* CreateState(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 StopArea(Area p_area);
void SwitchArea(Area p_area); void SwitchArea(Area p_area);
void Init(); void Init();

View File

@ -252,6 +252,7 @@ void LegoGameState::ResetROI()
} }
// FUNCTION: LEGO1 0x10039980 // FUNCTION: LEGO1 0x10039980
// FUNCTION: BETA10 0x100840e4
MxResult LegoGameState::Save(MxULong p_slot) MxResult LegoGameState::Save(MxULong p_slot)
{ {
InfocenterState* infocenterState = (InfocenterState*) GameState()->GetState("InfocenterState"); InfocenterState* infocenterState = (InfocenterState*) GameState()->GetState("InfocenterState");
@ -550,7 +551,8 @@ MxS32 LegoGameState::ReadVariable(LegoStorage* p_storage, MxVariableTable* p_to)
} }
// FUNCTION: LEGO1 0x1003a170 // 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 baseForSlot[2] = "0";
char path[1024] = ""; char path[1024] = "";