aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/psp_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/psp_main.cpp')
-rw-r--r--backends/platform/psp/psp_main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/platform/psp/psp_main.cpp b/backends/platform/psp/psp_main.cpp
index 3ea6c55368..357c502dbc 100644
--- a/backends/platform/psp/psp_main.cpp
+++ b/backends/platform/psp/psp_main.cpp
@@ -62,9 +62,8 @@ PSP_MODULE_INFO("SCUMMVM-PSP", 0, 1, 1);
* code (crt0.c) starts this program in to be in usermode
* even though the module was started in kernelmode
*/
-#ifndef USERSPACE_ONLY
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU);
-#endif
+PSP_HEAP_SIZE_KB(-128); //Leave 128kb for thread stacks, etc.
#ifndef USERSPACE_ONLY
@@ -142,13 +141,13 @@ int SetupCallbacks(void) {
#undef main
int main(void) {
+ //change clock rate to 333mhz
+ scePowerSetClockFrequency(333, 333, 166);
+
PowerManager::instance(); // Setup power manager
SetupCallbacks();
- //change clock rate to 333mhz
- scePowerSetClockFrequency(333, 333, 166);
-
static const char *argv[] = { "scummvm", NULL };
static int argc = sizeof(argv)/sizeof(char *)-1;