瀏覽代碼

core: the IO thread tweak needn't be PS3-specific.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
b4b2019efc
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. +3
    -4
      src/ticker.cpp

+ 3
- 4
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;
}



Loading…
取消
儲存