(PSP) change clockspeed to 333MHz/166MHz on start.

This commit is contained in:
aliaspider 2014-02-18 18:43:23 +01:00
parent ca40703f62
commit 68c7a3ad5b
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@ RARCH_DEFINES = -DPSP -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_ZLIB -DWANT_MINIZ -DHAVE
LIBDIR =
LDFLAGS =
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm -lpspaudio -lpspfpu
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm -lpspaudio -lpspfpu -lpsppower
ifeq ($(HAVE_THREADS), 1)
RARCH_DEFINES += -DHAVE_THREADS

View File

@ -17,6 +17,7 @@
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspfpu.h>
#include <psppower.h>
#include <stdint.h>
#include "../../boolean.h"
@ -97,6 +98,7 @@ static void system_init(void *data)
setup_callback();
pspFpuSetEnable(0);//disable FPU exceptions
scePowerSetClockFrequency(333,333,166);
}
static void system_deinit(void *data)