diff options
author | Nebuleon Fumika | 2013-01-02 03:20:47 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-02 03:20:47 -0500 |
commit | 7c2a30c5b54e000106e466ba44fcc040746a0c90 (patch) | |
tree | d4070571f07729a39180bdb11ab8b64a895b9bb1 /source/nds/gui.h | |
parent | 378f5a0e3f7321c581da32e9a1764e80afdeae2a (diff) | |
download | snes9x2005-7c2a30c5b54e000106e466ba44fcc040746a0c90.tar.gz snes9x2005-7c2a30c5b54e000106e466ba44fcc040746a0c90.tar.bz2 snes9x2005-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.h')
-rw-r--r-- | source/nds/gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nds/gui.h b/source/nds/gui.h index 9ebaf26..5a40979 100644 --- a/source/nds/gui.h +++ b/source/nds/gui.h @@ -97,6 +97,7 @@ extern char main_path[MAX_PATH]; extern char rom_path[MAX_PATH]; extern u32 game_enable_audio; +extern u32 clock_speed_number; /****************************************************************************** ******************************************************************************/ @@ -117,6 +118,7 @@ extern GAME_CONFIG game_config; extern void gui_init(u32 lang_id); extern u32 menu(u16 *original_screen); extern void game_disableAudio(); +extern void set_cpu_clock(u32 num); #ifdef __cplusplus } |