mirror of https://github.com/PrimeDecomp/prime.git
parent
7a2928b531
commit
165cc200e4
|
@ -22,6 +22,7 @@ public:
|
||||||
|
|
||||||
rstl::rc_ptr< CPlayerState >& PlayerState();
|
rstl::rc_ptr< CPlayerState >& PlayerState();
|
||||||
CAssetId CurrentWorldAssetId();
|
CAssetId CurrentWorldAssetId();
|
||||||
|
void WriteBackupBuf();
|
||||||
|
|
||||||
CSystemOptions& SystemOptions() { return xa8_systemOptions; }
|
CSystemOptions& SystemOptions() { return xa8_systemOptions; }
|
||||||
CGameOptions& GameOptions() { return x17c_gameOptions; }
|
CGameOptions& GameOptions() { return x17c_gameOptions; }
|
||||||
|
@ -29,6 +30,8 @@ public:
|
||||||
uint& SaveIdx() { return x20c_saveIdx; }
|
uint& SaveIdx() { return x20c_saveIdx; }
|
||||||
u64& CardSerial() { return x210_cardSerial; }
|
u64& CardSerial() { return x210_cardSerial; }
|
||||||
rstl::vector< uchar >& BackupBuf() { return x218_backupBuf; }
|
rstl::vector< uchar >& BackupBuf() { return x218_backupBuf; }
|
||||||
|
void SetCardSerial(u64 serial) { x210_cardSerial = serial; }
|
||||||
|
u64 GetCardSerial() const { return x210_cardSerial; }
|
||||||
|
|
||||||
struct GameFileStateInfo {
|
struct GameFileStateInfo {
|
||||||
double x0_playTime;
|
double x0_playTime;
|
||||||
|
|
|
@ -338,7 +338,10 @@ void CMemoryCardDriver::StartFileRenameBtoA() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryCardDriver::WriteBackupBuf() {}
|
void CMemoryCardDriver::WriteBackupBuf() {
|
||||||
|
gpGameState->WriteBackupBuf();
|
||||||
|
gpGameState->SetCardSerial(x28_cardSerial);
|
||||||
|
}
|
||||||
|
|
||||||
void CMemoryCardDriver::UpdateFileAltDeleteTransactional(ECardResult) {}
|
void CMemoryCardDriver::UpdateFileAltDeleteTransactional(ECardResult) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue