mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 13:26:30 -05:00
hle: kernel: k_scheduler_lock: Fix shadowing errors.
This commit is contained in:
parent
354130cd84
commit
6b2f653143
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class KernelCore;
|
|||
template <typename SchedulerType>
|
||||
class KAbstractSchedulerLock {
|
||||
public:
|
||||
explicit KAbstractSchedulerLock(KernelCore& kernel) : kernel{kernel} {}
|
||||
explicit KAbstractSchedulerLock(KernelCore& kernel_) : kernel{kernel_} {}
|
||||
|
||||
bool IsLockedByCurrentThread() const {
|
||||
return this->owner_thread == kernel.GetCurrentEmuThreadID();
|
||||
|
|
Loading…
Reference in a new issue