Changeset 1676
- Timestamp:
- Jul 27, 2012, 9:07:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ticker.cpp
r1675 r1676 56 56 #endif 57 57 gametick.Push(0); 58 disktick.Push(0); 58 59 delete gamethread; 59 60 delete diskthread; … … 76 77 static void *DiskThreadMain(void *p); 77 78 Thread *gamethread, *drawthread, *diskthread; 78 Queue<int> gametick, drawtick ;79 Queue<int> gametick, drawtick, disktick; 79 80 80 81 /* Shutdown management */ … … 316 317 { 317 318 /* FIXME: temporary hack to avoid crashes on the PS3 */ 318 Timer t; 319 for (;;) 320 { 321 t.Get(); 322 t.Wait(0.01f); 323 } 319 data->disktick.Pop(); 324 320 325 321 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.