Match CMemoryCardDriver::GetGameFileStateInfo

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

View File

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