aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_SD.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-06-19 15:58:50 +0200
committerArisotura <thetotalworm@gmail.com>2019-06-19 15:58:50 +0200
commitd5a7c0bab8b700477e36932ca62fae28d2518ee9 (patch)
treeeb85e60480d2d2c6113079995dd96ef92903aeba /src/DSi_SD.cpp
parent2a60fad0a51833a02e5e1c6dd7f59b4117676831 (diff)
there, PSISP
Diffstat (limited to 'src/DSi_SD.cpp')
-rw-r--r--src/DSi_SD.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DSi_SD.cpp b/src/DSi_SD.cpp
index fed26b1..fbb2e14 100644
--- a/src/DSi_SD.cpp
+++ b/src/DSi_SD.cpp
@@ -571,7 +571,8 @@ void DSi_MMCStorage::SendACMD(u8 cmd, u32 param)
// CHECKME:
// DSi boot2 sets this to 0x40100000 (hardcoded)
// then has two codepaths depending on whether bit30 did get set
- // is it settable at all on the MMC?
+ // is it settable at all on the MMC? probably not.
+ if (Internal) param &= ~(1<<30);
OCR &= 0xBF000000;
OCR |= (param & 0x40FFFFFF);
Host->SendResponse(OCR, true);