fix naming convention

This commit is contained in:
Misha 2023-12-15 16:00:32 -05:00
parent e0122bd9f6
commit d2be8c9383
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
2 changed files with 4 additions and 4 deletions

View File

@ -271,18 +271,18 @@ void FUN_1003ccf0(MxU16*, LegoFileStream&)
}
// FUNCTION: LEGO1 0x1003cdd0
void LegoGameState::SerializeScoreHistory(MxS16 m_flags)
void LegoGameState::SerializeScoreHistory(MxS16 p_flags)
{
LegoFileStream stream;
MxString savePath(m_savePath);
savePath += "\\";
savePath += g_historyGSI;
if (m_flags == LegoStream::WriteBit) {
if (p_flags == LegoStream::WriteBit) {
WriteScoreHistory(&m_unk0xa6);
}
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) m_flags) == SUCCESS) {
if (stream.Open(savePath.GetData(), (LegoStream::OpenFlags) p_flags) == SUCCESS) {
FUN_1003ccf0(&m_unk0xa6, stream);
}
}

View File

@ -24,7 +24,7 @@ class LegoGameState {
__declspec(dllexport) MxResult Load(MxULong);
__declspec(dllexport) MxResult Save(MxULong);
__declspec(dllexport) void SerializePlayersInfo(MxS16);
__declspec(dllexport) void SerializeScoreHistory(MxS16 m_flags);
__declspec(dllexport) void SerializeScoreHistory(MxS16 p_flags);
__declspec(dllexport) void SetSavePath(char*);
LegoState* GetState(COMPAT_CONST char* p_stateName);