mirror of
https://github.com/halpz/re3.git
synced 2025-06-28 13:56:21 +00:00
DrawStandardMenus, VC menu array and minor fixes
This commit is contained in:
@ -33,7 +33,7 @@ C_PcSave::DeleteSlot(int32 slot)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
int8
|
||||
C_PcSave::SaveSlot(int32 slot)
|
||||
{
|
||||
MakeValidSaveName(slot);
|
||||
@ -45,10 +45,10 @@ C_PcSave::SaveSlot(int32 slot)
|
||||
if (GenericSave(file)) {
|
||||
if (!!CFileMgr::CloseFile(file))
|
||||
nErrorCode = SAVESTATUS_ERR_SAVE_CLOSE;
|
||||
return true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return false;
|
||||
return 2;
|
||||
}
|
||||
PcSaveHelper.nErrorCode = SAVESTATUS_ERR_SAVE_CREATE;
|
||||
return false;
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
C_PcSave() : nErrorCode(SAVESTATUS_SUCCESSFUL) {}
|
||||
void PopulateSlotInfo();
|
||||
bool DeleteSlot(int32 slot);
|
||||
bool SaveSlot(int32 slot);
|
||||
int8 SaveSlot(int32 slot);
|
||||
bool PcClassSaveRoutine(int32 a2, uint8 *data, uint32 size);
|
||||
static void SetSaveDirectory(const char *path);
|
||||
};
|
||||
|
Reference in New Issue
Block a user