| 1028 | } |
| 1029 | |
| 1030 | void __OSSwitchToThreadFiber(OSThread_t* thread, uint32 coreIndex) |
| 1031 | { |
| 1032 | cemu_assert_debug(__OSHasSchedulerLock()); |
| 1033 | cemu_assert_debug(s_threadToFiber.find(thread) != s_threadToFiber.end()); |
| 1034 | |
| 1035 | OSHostThread* hostThread = s_threadToFiber.find(thread)->second; |
| 1036 | hostThread->selectedCore = coreIndex; |
| 1037 | Fiber::Switch(hostThread->m_fiber); |
| 1038 | } |
| 1039 | |
| 1040 | void __OSThreadLoadContext(PPCInterpreter_t* hCPU, OSThread_t* thread) |
| 1041 | { |
no test coverage detected