Match CMemoryCardDriver::GetGameFileStateInfo

This commit is contained in:
Phillip Stephens 2022-10-11 10:12:00 -07:00
parent 9bd9f9c32f
commit eb3be0bc36
1 changed files with 5 additions and 2 deletions

View File

@ -794,8 +794,11 @@ void SGameFileSlot::InitializeFromGameState() {
void SGameFileSlot::LoadGameState(int) {}
const CGameState::GameFileStateInfo* CMemoryCardDriver::GetGameFileStateInfo(int) {
return nullptr;
const CGameState::GameFileStateInfo* CMemoryCardDriver::GetGameFileStateInfo(int saveIdx) {
if (xe4_fileSlots[saveIdx].null()) {
return nullptr;
}
return &xe4_fileSlots[saveIdx]->x944_fileInfo;
};
bool CMemoryCardDriver::GetCardFreeBytes() {