| 2055 | } |
| 2056 | |
| 2057 | void lv2_obj::cleanup() { |
| 2058 | g_ppu = nullptr; |
| 2059 | g_scheduler_ready = false; |
| 2060 | g_to_sleep.clear(); |
| 2061 | g_waiting.clear(); |
| 2062 | g_pending = 0; |
| 2063 | s_yield_frequency = 0; |
| 2064 | } |
| 2065 | |
| 2066 | void lv2_obj::schedule_all(u64 current_time) { |
| 2067 | auto it = std::find(g_to_notify, std::end(g_to_notify), |
no test coverage detected