mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(PSP) change clockspeed to 333MHz/166MHz on start.
This commit is contained in:
parent
ca40703f62
commit
68c7a3ad5b
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user