mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 06:39:36 +02:00
Update libco
This commit is contained in:
@@ -45,7 +45,7 @@ cothread_t co_create(unsigned int size, void (*entrypoint)(void))
|
|||||||
int32_t new_thread_id = CreateThread(&thread);
|
int32_t new_thread_id = CreateThread(&thread);
|
||||||
if (new_thread_id < 0)
|
if (new_thread_id < 0)
|
||||||
printf("libco: ERROR: creating thread\n");
|
printf("libco: ERROR: creating thread\n");
|
||||||
|
|
||||||
StartThread(new_thread_id, NULL);
|
StartThread(new_thread_id, NULL);
|
||||||
*(uint32_t *)handle = new_thread_id;
|
*(uint32_t *)handle = new_thread_id;
|
||||||
return handle;
|
return handle;
|
||||||
|
|||||||
Reference in New Issue
Block a user