diff options
author | Joost Peters | 2009-08-17 23:54:40 +0000 |
---|---|---|
committer | Joost Peters | 2009-08-17 23:54:40 +0000 |
commit | eb11cca7888c01256550d4aac429cc73eb0330e2 (patch) | |
tree | 54d0d6d367f13d3509ee63f7c60f19c637a0b8a1 /backends | |
parent | 2fc7660e43f581b811fdc979c25e8c87a17d1456 (diff) | |
download | scummvm-rg350-eb11cca7888c01256550d4aac429cc73eb0330e2.tar.gz scummvm-rg350-eb11cca7888c01256550d4aac429cc73eb0330e2.tar.bz2 scummvm-rg350-eb11cca7888c01256550d4aac429cc73eb0330e2.zip |
PSP: increase optimization level and change clock rate to 333mhz
svn-id: r43498
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/psp/Makefile | 2 | ||||
-rw-r--r-- | backends/platform/psp/psp_main.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
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; |