mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-13 21:25:26 -04:00
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:
Vendored
+1
-1
Submodule extern/aurora updated: 672f1e8e5e...20a23c7d22
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user