From 1eb612135b566c17917123e668099a67d3089ccf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 19 Apr 2020 19:18:53 +0200 Subject: [PATCH] Revert "Revert "Take this out - cores that need usleep and such - address it in"" This reverts commit 7e3a400cb7d45be00415b39d90aa5365aba46fe9. --- frontend/drivers/platform_psp.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/frontend/drivers/platform_psp.c b/frontend/drivers/platform_psp.c index 4574f2cf84..6655a261be 100644 --- a/frontend/drivers/platform_psp.c +++ b/frontend/drivers/platform_psp.c @@ -557,22 +557,6 @@ static uint64_t frontend_psp_get_mem_used(void) } #endif -// stdlibc++ references usleep but it's not available. -// This is a workaround -#ifdef VITA -int usleep(uint64_t usec) -{ - sceKernelDelayThread(usec); - return 0; -} - -unsigned int sleep(unsigned int seconds) -{ - sceKernelDelayThread(seconds * 1000000LL); - return 0; -} -#endif - frontend_ctx_driver_t frontend_ctx_psp = { frontend_psp_get_environment_settings, frontend_psp_init,