mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 02:55:05 +00:00
Almost match CMemoryCardDriver::BuildNewFileSlot
Former-commit-id: cdfda89fa6
This commit is contained in:
@@ -20,6 +20,8 @@ public:
|
||||
CGameState();
|
||||
CGameState(CInputStream& in, int saveIdx);
|
||||
|
||||
void ReadSystemOptions(CInputStream& in);
|
||||
|
||||
rstl::rc_ptr< CPlayerState >& PlayerState();
|
||||
CAssetId CurrentWorldAssetId();
|
||||
void WriteBackupBuf();
|
||||
@@ -30,6 +32,8 @@ public:
|
||||
uint& SaveIdx() { return x20c_saveIdx; }
|
||||
u64& CardSerial() { return x210_cardSerial; }
|
||||
rstl::vector< uchar >& BackupBuf() { return x218_backupBuf; }
|
||||
u32 GetFileIdx() const { return x20c_saveIdx; }
|
||||
void SetFileIdx(u32 idx) { x20c_saveIdx = idx; }
|
||||
void SetCardSerial(u64 serial) { x210_cardSerial = serial; }
|
||||
u64 GetCardSerial() const { return x210_cardSerial; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user