Skip to content

Commit

Permalink
(PSP) change clockspeed to 333MHz/166MHz on start.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaspider committed Feb 18, 2014
1 parent ca40703 commit 68c7a3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.psp1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions frontend/platform/platform_psp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspfpu.h>
#include <psppower.h>

#include <stdint.h>
#include "../../boolean.h"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 68c7a3a

Please sign in to comment.