mirror of https://github.com/PrimeDecomp/prime.git
Match CMemoryCardDriver::CheckCardCapacity
Former-commit-id: d7cf2ebdde
This commit is contained in:
parent
d5b10b0daa
commit
aac70facff
|
@ -110,8 +110,8 @@ private:
|
|||
CAssetId xc_saveIcon1;
|
||||
EState x10_state;
|
||||
EError x14_error;
|
||||
int x18_cardFreeBytes;
|
||||
int x1c_cardFreeFiles;
|
||||
uint x18_cardFreeBytes;
|
||||
uint x1c_cardFreeFiles;
|
||||
uint x20_fileTime;
|
||||
long long x28_cardSerial;
|
||||
rstl::reserved_vector< u8, 174 > x30_systemData;
|
||||
|
|
|
@ -431,7 +431,12 @@ void CMemoryCardDriver::ClearError() {
|
|||
x14_error = kE_OK;
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::CheckCardCapacity() {}
|
||||
void CMemoryCardDriver::CheckCardCapacity() {
|
||||
if (x18_cardFreeBytes >= 0x2000 && x1c_cardFreeFiles >= 1) {
|
||||
return;
|
||||
}
|
||||
x14_error = kE_CardStillFull;
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::NoCardFound() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue