From 5f47730fc010267e6ac8e8be16a376674ac82764 Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 27 May 2021 22:50:09 +0300 Subject: [PATCH] Fix reservations handling in logs Remove reservation cb. --- rpcs3/Emu/CPU/CPUThread.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/rpcs3/Emu/CPU/CPUThread.cpp b/rpcs3/Emu/CPU/CPUThread.cpp index 9a13484f6c..531bb45b1c 100644 --- a/rpcs3/Emu/CPU/CPUThread.cpp +++ b/rpcs3/Emu/CPU/CPUThread.cpp @@ -485,26 +485,6 @@ void cpu_thread::operator()() } }); - g_tls_log_control = [](const char*, u64 progress) - { - static thread_local bool wait_set = false; - - cpu_thread* _cpu = get_current_cpu_thread(); - - if (progress == 0 && cpu_flag::wait - _cpu->state) - { - _cpu->state += cpu_flag::wait + cpu_flag::temp; - wait_set = true; - return; - } - - if (progress == umax && std::exchange(wait_set, false)) - { - ensure(!_cpu->check_state()); - return; - } - }; - static thread_local struct thread_cleanup_t { cpu_thread* _this = nullptr;