sdmmc: fix bug in WaitWhileCommandInhibit, add mmc accessors

This commit is contained in:
Michael Scire
2020-10-25 21:09:58 -07:00
parent 37704d670b
commit a0f1971353
4 changed files with 83 additions and 6 deletions

View File

@@ -32,4 +32,12 @@ namespace ams::sdmmc::impl {
return std::addressof(g_mmc0_host_controller);
}
IDeviceAccessor *GetDeviceAccessorOfPortMmc0() {
return std::addressof(g_mmc0_device_accessor);
}
MmcDeviceAccessor *GetMmcDeviceAccessorOfPortMmc0() {
return std::addressof(g_mmc0_device_accessor);
}
}