From eb11cca7888c01256550d4aac429cc73eb0330e2 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Mon, 17 Aug 2009 23:54:40 +0000 Subject: PSP: increase optimization level and change clock rate to 333mhz svn-id: r43498 --- backends/platform/psp/Makefile | 2 +- backends/platform/psp/psp_main.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/platform/psp/Makefile b/backends/platform/psp/Makefile index ad22a853e1..0190cdf8c9 100644 --- a/backends/platform/psp/Makefile +++ b/backends/platform/psp/Makefile @@ -62,7 +62,7 @@ endif INCDIR := $(srcdir) . $(srcdir)/engines/ . $(PSPSDK)/include LIBDIR := $(LIBDIR) . $(PSPSDK)/lib -CXXFLAGS = -O2 -Wall -D__PSP__ -DNONSTANDARD_PORT -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DUSE_ZLIB -Wno-multichar `$(PSPBIN)/sdl-config --cflags` +CXXFLAGS = -O3 -Wall -D__PSP__ -DNONSTANDARD_PORT -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DUSE_ZLIB -Wno-multichar `$(PSPBIN)/sdl-config --cflags` CXXFLAGS:= $(addprefix -I,$(INCDIR)) $(CXXFLAGS) LDFLAGS := $(addprefix -L,$(LIBDIR)) $(LDFLAGS) LIBS = diff --git a/backends/platform/psp/psp_main.cpp b/backends/platform/psp/psp_main.cpp index 37080c7bf9..3ea6c55368 100644 --- a/backends/platform/psp/psp_main.cpp +++ b/backends/platform/psp/psp_main.cpp @@ -146,6 +146,9 @@ int main(void) { SetupCallbacks(); + //change clock rate to 333mhz + scePowerSetClockFrequency(333, 333, 166); + static const char *argv[] = { "scummvm", NULL }; static int argc = sizeof(argv)/sizeof(char *)-1; -- cgit v1.2.3