aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.h
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-06 00:34:01 -0500
committerNebuleon Fumika2013-02-06 00:34:01 -0500
commit9e87a7a2b2659785bc05266fbb3292b60aecdf27 (patch)
tree11236b0ac0ac764bea2ff973499ff2ef11448158 /source/nds/entry.h
parentf2adea7bb2250876df3d1b6e076a6b5380c6b13e (diff)
downloadsnes9x2005-9e87a7a2b2659785bc05266fbb3292b60aecdf27.tar.gz
snes9x2005-9e87a7a2b2659785bc05266fbb3292b60aecdf27.tar.bz2
snes9x2005-9e87a7a2b2659785bc05266fbb3292b60aecdf27.zip
Implement automatic CPU frequency switching, which improves battery life if playing games that don't use all of the MIPS CPU. If all of it is indeed needed, then the game will constantly play at 396 MHz.
Diffstat (limited to 'source/nds/entry.h')
-rw-r--r--source/nds/entry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nds/entry.h b/source/nds/entry.h
index a6bd350..2d3f7db 100644
--- a/source/nds/entry.h
+++ b/source/nds/entry.h
@@ -8,6 +8,8 @@ extern "C" {
void game_restart(void);
int load_gamepak(char* file);
+
+ extern unsigned int AutoCPUFrequency;
#ifdef __cplusplus
}
#endif