mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-05 19:55:52 +00:00
Match CMemoryCardDriver::EraseFileSlot
Former-commit-id: eec621aacc77dd2ff3028ed516f04aa66b116ce6
This commit is contained in:
parent
71e610936b
commit
1706935abb
@ -23,8 +23,8 @@ public:
|
|||||||
}
|
}
|
||||||
// TODO check
|
// TODO check
|
||||||
auto_ptr& operator=(const auto_ptr& other) {
|
auto_ptr& operator=(const auto_ptr& other) {
|
||||||
if (this != &other) {
|
if (&other != this) {
|
||||||
if (x0_has != false) {
|
if (x0_has) {
|
||||||
delete x4_item;
|
delete x4_item;
|
||||||
}
|
}
|
||||||
x0_has = other.x0_has;
|
x0_has = other.x0_has;
|
||||||
|
@ -706,7 +706,9 @@ void CMemoryCardDriver::ReadFinished() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryCardDriver::EraseFileSlot(int) {}
|
void CMemoryCardDriver::EraseFileSlot(int saveIdx) {
|
||||||
|
xe4_fileSlots[saveIdx] = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
void CMemoryCardDriver::BuildNewFileSlot(int) {}
|
void CMemoryCardDriver::BuildNewFileSlot(int) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user