Removing uses of Sleep/SwitchToThread/etc.

This commit is contained in:
Ben Vanik
2015-07-13 21:54:24 -07:00
parent 40621a90bd
commit d89bad7380
8 changed files with 23 additions and 13 deletions

View File

@@ -345,7 +345,7 @@ SHIM_CALL XMABlockWhileInUse_shim(PPCContext* ppc_context,
if (!context.input_buffer_0_valid && !context.input_buffer_1_valid) {
break;
}
Sleep(1);
xe::threading::Sleep(std::chrono::milliseconds::duration(1));
} while (true);
SHIM_SET_RETURN_32(0);