Fix memory card not properly attaching on init. (#433)

* Fix memory card not properly attaching on init.

Previously the card status was forced to ready which caused quite a bit of default state getting set properly,
reverting that and setting mCardCommand to `COMM_ATTACH_e` allows the memory card system to properly probe and
detect the card status.

A companion fix in aurora addresses the "Memory Card corrupted" error message.

* Update aurora
This commit is contained in:
Phillip Stephens
2026-04-18 21:33:02 -07:00
committed by GitHub
parent 05160a968c
commit cd7e429a66
2 changed files with 6 additions and 5 deletions
+1 -1
+5 -4
View File
@@ -84,11 +84,12 @@ void mDoMemCd_Ctrl_c::ThdInit() {
mProbeStat = 2;
mCardState = CARD_STATE_NO_CARD_e;
#if TARGET_PC
mCardState = CARD_STATE_READY_e;
#endif
#if TARGET_PC
mCardCommand = COMM_ATTACH_e;
#else
mCardCommand = COMM_NONE_e;
#endif
mChannel = SLOT_A;
OSInitMutex(&mMutex);