From 10ea53a113f057bb38bae9b3e5e92adf81ca4de0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Aug 2016 01:26:53 +0200 Subject: [PATCH] (Vita) platform_psp.c - cleanup - change ifndef VITA to ifdef VITA --- frontend/drivers/platform_psp.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/frontend/drivers/platform_psp.c b/frontend/drivers/platform_psp.c index 04142fc856..f174852fb5 100644 --- a/frontend/drivers/platform_psp.c +++ b/frontend/drivers/platform_psp.c @@ -218,13 +218,12 @@ static int setup_callback(void) static void frontend_psp_init(void *data) { #ifndef IS_SALAMANDER -#ifndef VITA + +#ifdef VITA + scePowerSetArmClockFrequency(444); + sceSysmoduleLoadModule(SCE_SYSMODULE_NET); +#else (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 */ pspDebugScreenInit(); pspDebugScreenClear(); @@ -233,10 +232,8 @@ static void frontend_psp_init(void *data) pspFpuSetEnable(0); /* disable FPU exceptions */ scePowerSetClockFrequency(333,333,166); -#else - scePowerSetArmClockFrequency(444); - sceSysmoduleLoadModule(SCE_SYSMODULE_NET); #endif + #endif #if defined(HAVE_KERNEL_PRX) || defined(IS_SALAMANDER)