mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-04 12:35:53 +00:00
Match SGameFileSlot::LoadGameState
Former-commit-id: 8674f1e6a388c59ce68c4ddbe00b3ee17e916fc6
This commit is contained in:
parent
e8b2c502d4
commit
eb781ef4ea
@ -792,7 +792,10 @@ void SGameFileSlot::InitializeFromGameState() {
|
|||||||
x944_fileInfo = CGameState::LoadGameFileState(x0_saveBuffer.data());
|
x944_fileInfo = CGameState::LoadGameFileState(x0_saveBuffer.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SGameFileSlot::LoadGameState(int) {}
|
void SGameFileSlot::LoadGameState(int idx) {
|
||||||
|
CMemoryInStream r(x0_saveBuffer.data(), x0_saveBuffer.capacity());
|
||||||
|
gpMain->StreamNewGameState(r, idx);
|
||||||
|
}
|
||||||
|
|
||||||
const CGameState::GameFileStateInfo* CMemoryCardDriver::GetGameFileStateInfo(int saveIdx) {
|
const CGameState::GameFileStateInfo* CMemoryCardDriver::GetGameFileStateInfo(int saveIdx) {
|
||||||
if (xe4_fileSlots[saveIdx].null()) {
|
if (xe4_fileSlots[saveIdx].null()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user