there, PSISP

This commit is contained in:
Arisotura 2019-06-19 15:58:50 +02:00
parent 2a60fad0a5
commit d5a7c0bab8
1 changed files with 2 additions and 1 deletions

View File

@ -571,7 +571,8 @@ void DSi_MMCStorage::SendACMD(u8 cmd, u32 param)
// CHECKME: // CHECKME:
// DSi boot2 sets this to 0x40100000 (hardcoded) // DSi boot2 sets this to 0x40100000 (hardcoded)
// then has two codepaths depending on whether bit30 did get set // 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 &= 0xBF000000;
OCR |= (param & 0x40FFFFFF); OCR |= (param & 0x40FFFFFF);
Host->SendResponse(OCR, true); Host->SendResponse(OCR, true);