From 5ceecc0f366ae5ff3d0e0a5c466fb791190346e5 Mon Sep 17 00:00:00 2001 From: Michael Theall Date: Thu, 7 May 2020 23:30:58 -0500 Subject: [PATCH] Minor power savings --- source/nds/platform.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/nds/platform.cpp b/source/nds/platform.cpp index cda3416..2b4b9fa 100644 --- a/source/nds/platform.cpp +++ b/source/nds/platform.cpp @@ -75,6 +75,13 @@ bool platform::init () { 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); videoSetModeSub (MODE_0_2D);