mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +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 =
|
LIBDIR =
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm -lpspaudio -lpspfpu
|
LIBS = -lretro_psp1 -lstdc++ -lpspgu -lpspgum -lm -lpspaudio -lpspfpu -lpsppower
|
||||||
|
|
||||||
ifeq ($(HAVE_THREADS), 1)
|
ifeq ($(HAVE_THREADS), 1)
|
||||||
RARCH_DEFINES += -DHAVE_THREADS
|
RARCH_DEFINES += -DHAVE_THREADS
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include <pspkernel.h>
|
#include <pspkernel.h>
|
||||||
#include <pspdebug.h>
|
#include <pspdebug.h>
|
||||||
#include <pspfpu.h>
|
#include <pspfpu.h>
|
||||||
|
#include <psppower.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "../../boolean.h"
|
#include "../../boolean.h"
|
||||||
@ -97,6 +98,7 @@ static void system_init(void *data)
|
|||||||
setup_callback();
|
setup_callback();
|
||||||
|
|
||||||
pspFpuSetEnable(0);//disable FPU exceptions
|
pspFpuSetEnable(0);//disable FPU exceptions
|
||||||
|
scePowerSetClockFrequency(333,333,166);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void system_deinit(void *data)
|
static void system_deinit(void *data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user