mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 21:31:00 -06:00
fix DSi SD newly inserted/removed IRQ bits
we don't support SD card hot swapping and SDIO wifi is always inserted, so those bits are always zero special thanks to Evie
This commit is contained in:
@ -477,7 +477,7 @@ u16 DSi_SDHost::Read(u32 addr)
|
||||
{
|
||||
if (Ports[0]) // basic check of whether the SD card is inserted
|
||||
{
|
||||
ret |= 0x0030;
|
||||
ret |= 0x0020;
|
||||
if (!Ports[0]->ReadOnly) ret |= 0x0080;
|
||||
}
|
||||
else
|
||||
@ -486,7 +486,7 @@ u16 DSi_SDHost::Read(u32 addr)
|
||||
else
|
||||
{
|
||||
// SDIO wifi is always inserted, I guess
|
||||
ret |= 0x00B0;
|
||||
ret |= 0x00A0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user