Minor power savings

This commit is contained in:
Michael Theall 2020-05-07 23:30:58 -05:00
parent 75d507425a
commit 5ceecc0f36

View File

@ -75,6 +75,13 @@ bool platform::init ()
{ {
sassert (fatInitDefault (), "Failed to initialize fat"); sassert (fatInitDefault (), "Failed to initialize fat");
// turn off unused arm7 hardware
powerOff (PM_SOUND_AMP);
powerOn (PM_SOUND_MUTE);
// turn off unused arm9 hardware
powerOff (POWER_MATRIX | POWER_3D_CORE);
videoSetMode (MODE_0_2D); videoSetMode (MODE_0_2D);
videoSetModeSub (MODE_0_2D); videoSetModeSub (MODE_0_2D);