DSi: add option to boot the full boot ROMs (#1581)

* DSi: add option to boot the full boot ROMs

added a config option for this so that this can be enabled or disabled

also added IO regs for DSi GPIO, but those don't do anything yet.

* reset GPIO regs on reset
This commit is contained in:
PoroCYon
2023-07-16 02:40:50 +02:00
committed by GitHub
parent cf7375f9ea
commit fbb41bd73d
8 changed files with 435 additions and 288 deletions

View File

@ -143,6 +143,8 @@ bool DSBatteryLevelOkay;
int DSiBatteryLevel;
bool DSiBatteryCharging;
bool DSiFullBIOSBoot;
CameraConfig Camera[2];
@ -332,6 +334,8 @@ ConfigEntry ConfigFile[] =
{"DSiBatteryLevel", 0, &DSiBatteryLevel, 0xF, true},
{"DSiBatteryCharging", 1, &DSiBatteryCharging, true, true},
{"DSiFullBIOSBoot", 1, &DSiFullBIOSBoot, false, true},
// TODO!!
// we need a more elegant way to deal with this
{"Camera0_InputType", 0, &Camera[0].InputType, 0, false},