aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.c
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-02 03:20:47 -0500
committerNebuleon Fumika2013-01-02 03:20:47 -0500
commit7c2a30c5b54e000106e466ba44fcc040746a0c90 (patch)
treed4070571f07729a39180bdb11ab8b64a895b9bb1 /source/nds/gui.c
parent378f5a0e3f7321c581da32e9a1764e80afdeae2a (diff)
downloadsnesemu-7c2a30c5b54e000106e466ba44fcc040746a0c90.tar.gz
snesemu-7c2a30c5b54e000106e466ba44fcc040746a0c90.tar.bz2
snesemu-7c2a30c5b54e000106e466ba44fcc040746a0c90.zip
Sleep when the lid is closed AND emulation is running. I don't know to what extent this will save on battery usage, though I do set the DSTWO's CPU to the lowest frequency while it sleeps.
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r--source/nds/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index be44f9a..ed867b4 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -274,7 +274,7 @@ u32 game_enable_audio = 1;
/******************************************************************************
******************************************************************************/
static u32 menu_cheat_page = 0;
-static u32 clock_speed_number = 5;
+u32 clock_speed_number = 5;
u32 gamepad_config_menu;
/******************************************************************************