Match CMemoryCardDriver::StartMountCard

Former-commit-id: e5832f4854
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-11 12:43:09 +03:00
parent 3218c6bd2f
commit 62e0ee072e
2 changed files with 8 additions and 1 deletions

View File

@ -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);

View File

@ -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() {}