mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Revert "Revert "Take this out - cores that need usleep and such - address it in""
This reverts commit 7e3a400cb7
.
This commit is contained in:
parent
7e3a400cb7
commit
1eb612135b
1 changed files with 0 additions and 16 deletions
|
@ -557,22 +557,6 @@ static uint64_t frontend_psp_get_mem_used(void)
|
||||||
}
|
}
|
||||||
#endif
|
#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_ctx_driver_t frontend_ctx_psp = {
|
||||||
frontend_psp_get_environment_settings,
|
frontend_psp_get_environment_settings,
|
||||||
frontend_psp_init,
|
frontend_psp_init,
|
||||||
|
|
Loading…
Add table
Reference in a new issue