(CTR/3DS) allow changing cpu speed on n3DS at runtime.

set cpu speed to max by default.
This commit is contained in:
aliaspider 2015-10-20 23:52:52 +01:00
parent 3a30baab57
commit 3e4f38a38e
2 changed files with 3 additions and 1 deletions

View File

@ -164,6 +164,7 @@ AccessControlInfo:
- nim:aoc - nim:aoc
- nwm::UDS - nwm::UDS
- ptm:u - ptm:u
- ptm:sysm
- qtm:u - qtm:u
- soc:U - soc:U
- ssl:C - ssl:C
@ -211,4 +212,4 @@ SystemControlInfo:
ro: 0x0004013000003702 ro: 0x0004013000003702
socket: 0x0004013000002e02 socket: 0x0004013000002e02
spi: 0x0004013000002302 spi: 0x0004013000002302
ssl: 0x0004013000002f02 ssl: 0x0004013000002f02

View File

@ -249,6 +249,7 @@ static void frontend_ctr_init(void *data)
APT_SetAppCpuTimeLimit(NULL, 80); APT_SetAppCpuTimeLimit(NULL, 80);
gfxInitDefault(); gfxInitDefault();
#endif #endif
osSetSpeedupEnable(true);
gfxInit(GSP_BGR8_OES,GSP_RGB565_OES,false); gfxInit(GSP_BGR8_OES,GSP_RGB565_OES,false);
csndInit(); csndInit();
initCfgu(); initCfgu();