From b4b2019efccaba35d439eaade652b95b7e1d06be Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 27 Jul 2012 16:53:51 +0000 Subject: [PATCH] core: the IO thread tweak needn't be PS3-specific. --- src/ticker.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ticker.cpp b/src/ticker.cpp index 26e58823..13f122bc 100644 --- a/src/ticker.cpp +++ b/src/ticker.cpp @@ -314,15 +314,14 @@ void *TickerData::DrawThreadMain(void * /* p */) void *TickerData::DiskThreadMain(void * /* p */) { -#if defined __CELLOS_LV2__ - /* FIXME: temporary hack to avoid crashes */ + /* FIXME: temporary hack to avoid crashes on the PS3 */ Timer t; for (;;) { t.Get(); - t.Wait(0.001f); + t.Wait(0.01f); } -#endif + return NULL; }