VERY experimental Nintendo Switch 2 emulator
C++
hle: kernel: AddressArbiter: Remove unused code.
bunnei026a8dd832ed
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cppindex b882eaa0ff..048acd30e9 100644--- a/src/core/hle/kernel/address_arbiter.cpp+++ b/src/core/hle/kernel/address_arbiter.cpp@@ -275,12 +275,6 @@ ResultCode AddressArbiter::WaitForAddressIfEqual(VAddr address, s32 value, s64 treturn current_thread->GetSignalingResult();}-void AddressArbiter::HandleWakeupThread(std::shared_ptr<Thread> thread) {- ASSERT(thread->GetStatus() == ThreadStatus::WaitArb);- RemoveThread(thread);- thread->SetArbiterWaitAddress(0);-}-void AddressArbiter::InsertThread(std::shared_ptr<Thread> thread) {const VAddr arb_addr = thread->GetArbiterWaitAddress();std::list<std::shared_ptr<Thread>>& thread_list = arb_threads[arb_addr];diff --git a/src/core/hle/kernel/address_arbiter.h b/src/core/hle/kernel/address_arbiter.hindex 0b05d533c7..b91edc67da 100644--- a/src/core/hle/kernel/address_arbiter.h+++ b/src/core/hle/kernel/address_arbiter.h@@ -50,9 +50,6 @@ public:/// Waits on an address with a particular arbitration type.ResultCode WaitForAddress(VAddr address, ArbitrationType type, s32 value, s64 timeout_ns);- /// Removes a thread from the container and resets its address arbiter adress to 0- void HandleWakeupThread(std::shared_ptr<Thread> thread);-private:/// Signals an address being waited on.ResultCode SignalToAddressOnly(VAddr address, s32 num_to_wake);