Procházet zdrojové kódy

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

legacy
Sam Hocevar sam před 14 roky
rodič
revize
b4b2019efc
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. +3
    -4
      src/ticker.cpp

+ 3
- 4
src/ticker.cpp Zobrazit soubor

@@ -314,15 +314,14 @@ void *TickerData::DrawThreadMain(void * /* p */)


void *TickerData::DiskThreadMain(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; Timer t;
for (;;) for (;;)
{ {
t.Get(); t.Get();
t.Wait(0.001f);
t.Wait(0.01f);
} }
#endif
return NULL; return NULL;
} }




Načítá se…
Zrušit
Uložit