sdmmc: fix building for arm32 and in stratosphere context

This commit is contained in:
Michael Scire
2020-10-21 15:31:27 -07:00
parent 2532ceea2a
commit 443d43ed7e
2 changed files with 34 additions and 31 deletions

View File

@@ -86,7 +86,7 @@ namespace ams::dd {
#elif defined(ATMOSPHERE_IS_STRATOSPHERE)
u32 out_val;
R_ABORT_UNLESS(svc::ReadWriteRegister(std::addressof(val), phys_addr, 0xFFFFFFFF, value));
R_ABORT_UNLESS(svc::ReadWriteRegister(std::addressof(out_val), phys_addr, 0xFFFFFFFF, value));
AMS_UNUSED(out_val);
#else