mirror of https://github.com/PrimeDecomp/prime.git
parent
3218c6bd2f
commit
62e0ee072e
|
@ -55,6 +55,7 @@ public:
|
|||
~CMemoryCardSys();
|
||||
|
||||
static ECardResult GetResultCode(int);
|
||||
static ECardResult MountCard(EMemoryCardPort port);
|
||||
static ProbeResults IsMemoryCardInserted(EMemoryCardPort);
|
||||
static ECardResult GetSerialNo(EMemoryCardPort port, long long& serialOut);
|
||||
static void UnmountCard(EMemoryCardPort);
|
||||
|
|
|
@ -411,7 +411,13 @@ void CMemoryCardDriver::UpdateCardProbe() {
|
|||
// }
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::StartMountCard() {}
|
||||
void CMemoryCardDriver::StartMountCard() {
|
||||
x10_state = kS_CardMount;
|
||||
x14_error = kE_OK;
|
||||
ECardResult result = CMemoryCardSys::MountCard(x0_cardPort);
|
||||
if (result != kCR_READY)
|
||||
UpdateMountCard(result);
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::StartCardCheck() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue