mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
(Vita) platform_psp.c - cleanup - change ifndef VITA to
ifdef VITA
This commit is contained in:
parent
a9744f8def
commit
10ea53a113
@ -218,13 +218,12 @@ static int setup_callback(void)
|
|||||||
static void frontend_psp_init(void *data)
|
static void frontend_psp_init(void *data)
|
||||||
{
|
{
|
||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
#ifndef VITA
|
|
||||||
|
#ifdef VITA
|
||||||
|
scePowerSetArmClockFrequency(444);
|
||||||
|
sceSysmoduleLoadModule(SCE_SYSMODULE_NET);
|
||||||
|
#else
|
||||||
(void)data;
|
(void)data;
|
||||||
|
|
||||||
/* TODO/FIXME - Err on the safe side for now and
|
|
||||||
* assume these aren't there with the PSP2/Vita SDKs.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* initialize debug screen */
|
/* initialize debug screen */
|
||||||
pspDebugScreenInit();
|
pspDebugScreenInit();
|
||||||
pspDebugScreenClear();
|
pspDebugScreenClear();
|
||||||
@ -233,10 +232,8 @@ static void frontend_psp_init(void *data)
|
|||||||
|
|
||||||
pspFpuSetEnable(0); /* disable FPU exceptions */
|
pspFpuSetEnable(0); /* disable FPU exceptions */
|
||||||
scePowerSetClockFrequency(333,333,166);
|
scePowerSetClockFrequency(333,333,166);
|
||||||
#else
|
|
||||||
scePowerSetArmClockFrequency(444);
|
|
||||||
sceSysmoduleLoadModule(SCE_SYSMODULE_NET);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_KERNEL_PRX) || defined(IS_SALAMANDER)
|
#if defined(HAVE_KERNEL_PRX) || defined(IS_SALAMANDER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user