mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
-fixed sd cards doesn't work in wii games (issue 11)
This commit is contained in:
parent
128254c489
commit
1277fd0c6e
@ -223,6 +223,6 @@ const DISC_INTERFACE __io_sdhc = {
|
|||||||
(FN_MEDIUM_READSECTORS)&SDHC_ReadSectors,
|
(FN_MEDIUM_READSECTORS)&SDHC_ReadSectors,
|
||||||
(FN_MEDIUM_WRITESECTORS)&SDHC_WriteSectors,
|
(FN_MEDIUM_WRITESECTORS)&SDHC_WriteSectors,
|
||||||
(FN_MEDIUM_CLEARSTATUS)&SDHC_ClearStatus,
|
(FN_MEDIUM_CLEARSTATUS)&SDHC_ClearStatus,
|
||||||
//(FN_MEDIUM_SHUTDOWN)&SDHC_Close
|
(FN_MEDIUM_SHUTDOWN)&SDHC_Close
|
||||||
(FN_MEDIUM_SHUTDOWN)&__io_SDHC_Close
|
//(FN_MEDIUM_SHUTDOWN)&__io_SDHC_Close
|
||||||
};
|
};
|
@ -72,6 +72,9 @@ void __Disc_SetLowMem()
|
|||||||
|
|
||||||
// Fix for Sam & Max (WiiPower)
|
// Fix for Sam & Max (WiiPower)
|
||||||
*(vu32 *)0x80003184 = 0x80000000;
|
*(vu32 *)0x80003184 = 0x80000000;
|
||||||
|
|
||||||
|
/* Flush cache */
|
||||||
|
DCFlushRange((void *)0x80000000, 0x3F00);
|
||||||
}
|
}
|
||||||
|
|
||||||
GXRModeObj * __Disc_SelectVMode(u8 videoselected, u64 chantitle)
|
GXRModeObj * __Disc_SelectVMode(u8 videoselected, u64 chantitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user