2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

hle: kernel: k_scheduler_lock: Fix shadowing errors.

This commit is contained in:
bunnei 2020-12-30 23:05:30 -08:00
parent 354130cd84
commit 6b2f653143

View file

@ -19,7 +19,7 @@ class KernelCore;
template <typename SchedulerType> template <typename SchedulerType>
class KAbstractSchedulerLock { class KAbstractSchedulerLock {
public: public:
explicit KAbstractSchedulerLock(KernelCore& kernel) : kernel{kernel} {} explicit KAbstractSchedulerLock(KernelCore& kernel_) : kernel{kernel_} {}
bool IsLockedByCurrentThread() const { bool IsLockedByCurrentThread() const {
return this->owner_thread == kernel.GetCurrentEmuThreadID(); return this->owner_thread == kernel.GetCurrentEmuThreadID();