mirror of https://github.com/mgba-emu/mgba.git
PSP2: Stop underclocking when menuing
This commit is contained in:
parent
d5cfcf219e
commit
1f2bef0ceb
1
CHANGES
1
CHANGES
|
@ -83,6 +83,7 @@ Misc:
|
||||||
- Util: Add endswith
|
- Util: Add endswith
|
||||||
- GUI: Only reload config if manually saved
|
- GUI: Only reload config if manually saved
|
||||||
- GBA Serialize: Savestates now store if CPU was halted
|
- GBA Serialize: Savestates now store if CPU was halted
|
||||||
|
- PSP2: Stop underclocking when menuing
|
||||||
|
|
||||||
0.4.1: (2016-07-11)
|
0.4.1: (2016-07-11)
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|
|
@ -174,7 +174,7 @@ void mPSP2Setup(struct mGUIRunner* runner) {
|
||||||
mCoreConfigSetDefaultIntValue(&runner->config, "threadedVideo", 1);
|
mCoreConfigSetDefaultIntValue(&runner->config, "threadedVideo", 1);
|
||||||
mCoreLoadForeignConfig(runner->core, &runner->config);
|
mCoreLoadForeignConfig(runner->core, &runner->config);
|
||||||
|
|
||||||
scePowerSetArmClockFrequency(80);
|
scePowerSetArmClockFrequency(333);
|
||||||
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_CROSS, GBA_KEY_A);
|
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_CROSS, GBA_KEY_A);
|
||||||
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_CIRCLE, GBA_KEY_B);
|
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_CIRCLE, GBA_KEY_B);
|
||||||
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_START, GBA_KEY_START);
|
mPSP2MapKey(&runner->core->inputMap, SCE_CTRL_START, GBA_KEY_START);
|
||||||
|
@ -295,7 +295,7 @@ void mPSP2UnloadROM(struct mGUIRunner* runner) {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
scePowerSetArmClockFrequency(80);
|
scePowerSetArmClockFrequency(333);
|
||||||
}
|
}
|
||||||
|
|
||||||
void mPSP2Paused(struct mGUIRunner* runner) {
|
void mPSP2Paused(struct mGUIRunner* runner) {
|
||||||
|
|
Loading…
Reference in New Issue