PSP: switched to using my memcpy
svn-id: r50982
This commit is contained in:
parent
844a332f8d
commit
30d7517343
8 changed files with 925 additions and 907 deletions
|
@ -44,15 +44,13 @@
|
|||
#include "backends/plugins/psp/psp-provider.h"
|
||||
#include "backends/platform/psp/psppixelformat.h"
|
||||
#include "backends/platform/psp/osys_psp.h"
|
||||
#include "backends/platform/psp/tests.h"
|
||||
#include "backends/platform/psp/tests.h" /* for unit/speed tests */
|
||||
#include "backends/platform/psp/trace.h"
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
#include <pspprof.h>
|
||||
#endif
|
||||
|
||||
#define ENABLE_TESTS /* to enable tests of PSP architecture */
|
||||
|
||||
/**
|
||||
* Define the module info section
|
||||
*
|
||||
|
@ -156,7 +154,7 @@ int SetupCallbacks(void) {
|
|||
#undef main
|
||||
int main(void) {
|
||||
//change clock rate to 333mhz
|
||||
scePowerSetClockFrequency(222, 222, 111);
|
||||
scePowerSetClockFrequency(333, 333, 166);
|
||||
|
||||
PowerManager::instance(); // Setup power manager
|
||||
|
||||
|
@ -172,10 +170,11 @@ int main(void) {
|
|||
PluginManager::instance().addPluginProvider(new PSPPluginProvider());
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_TESTS
|
||||
/* unit/speed tests */
|
||||
#if defined (PSP_ENABLE_UNIT_TESTS) || defined (PSP_ENABLE_SPEED_TESTS)
|
||||
PSP_INFO_PRINT("running tests\n");
|
||||
tests();
|
||||
sceKernelSleepThread();
|
||||
psp_tests();
|
||||
sceKernelSleepThread(); // that's it. That's all we're doing
|
||||
#endif
|
||||
|
||||
int res = scummvm_main(argc, argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue