Просмотр исходного кода

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

legacy
Sam Hocevar sam 12 лет назад
Родитель
Сommit
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;
}



Загрузка…
Отмена
Сохранить