mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-04 03:55:54 +00:00
Match CMemoryCardDriver::CheckCardCapacity
Former-commit-id: d7cf2ebdde1cd1fcaca2588cb008f65c9ca6768b
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…
x
Reference in New Issue
Block a user