[wip] Jak 3 Overlord (#3567)

This commit is contained in:
water111
2024-07-26 09:42:28 -04:00
committed by GitHub
parent 57772c59a0
commit e81431bd21
80 changed files with 12658 additions and 132 deletions
+3
View File
@@ -1,5 +1,7 @@
#include "iop_thread.h"
#include "common/global_profiler/GlobalProfiler.h"
#ifdef __linux__
#include <unistd.h>
#elif _WIN32
@@ -57,6 +59,7 @@ void* IOP::iop_alloc(int size) {
void IOP::wait_run_iop(
std::chrono::time_point<std::chrono::steady_clock, std::chrono::microseconds> wakeup) {
auto p = scoped_prof("krnlw");
std::unique_lock<std::mutex> lk(run_cv_mutex);
iop_run_cv.wait_until(lk, wakeup);
}