mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 01:06:50 +02:00
Lock scfg9 when switching to DS mode to avoid DSi mode being misdetected. Fixes #90.
This commit is contained in:
@@ -100,8 +100,8 @@ static void bootArm9()
|
||||
|
||||
if (((REG_SCFG_EXT >> 14) & 3) == 0)
|
||||
{
|
||||
// When switched to DS mode, disable vram extensions
|
||||
REG_SCFG_EXT &= ~(1 << 13);
|
||||
// When switched to DS mode, disable vram extensions and lock scfg9
|
||||
REG_SCFG_EXT &= ~((1 << 13) | (1 << 31));
|
||||
}
|
||||
|
||||
while (gfx_getVCount() != 191);
|
||||
|
||||
Reference in New Issue
Block a user