mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 22:38:39 -05:00
kernel/thread: Deduplicate scheduler switching code
The code in both places was the same verbatim, so we can extract it to a function to deduplicate the logic.
This commit is contained in:
@ -374,6 +374,8 @@ private:
|
||||
explicit Thread(KernelCore& kernel);
|
||||
~Thread() override;
|
||||
|
||||
void ChangeScheduler();
|
||||
|
||||
Core::ARM_Interface::ThreadContext context{};
|
||||
|
||||
u32 thread_id = 0;
|
||||
|
Reference in New Issue
Block a user