diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-06 08:57:09 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:18 +0100 |
commit | 9a9e7dd78ba12908a5c9ae0691c549783251ce53 (patch) | |
tree | e3abf78e29fdf34bfa6505f2f9ebbe6e1e20fc95 /src/core | |
parent | hle: kernel: Remove unnecessary virtual specifier on NotifyAvailable. (diff) | |
download | yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar.gz yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar.bz2 yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar.lz yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar.xz yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.tar.zst yuzu-9a9e7dd78ba12908a5c9ae0691c549783251ce53.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_process.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index d972c9de0..cb93c7e24 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h @@ -259,7 +259,7 @@ public: [[nodiscard]] KThread* GetPinnedThread(s32 core_id) const { ASSERT(0 <= core_id && core_id < static_cast<s32>(Core::Hardware::NUM_CPU_CORES)); - return pinned_threads.at(core_id); + return pinned_threads[core_id]; } /// Gets 8 bytes of random data for svcGetInfo RandomEntropy @@ -369,14 +369,14 @@ private: void PinThread(s32 core_id, KThread* thread) { ASSERT(0 <= core_id && core_id < static_cast<s32>(Core::Hardware::NUM_CPU_CORES)); ASSERT(thread != nullptr); - ASSERT(pinned_threads.at(core_id) == nullptr); + ASSERT(pinned_threads[core_id] == nullptr); pinned_threads[core_id] = thread; } void UnpinThread(s32 core_id, KThread* thread) { ASSERT(0 <= core_id && core_id < static_cast<s32>(Core::Hardware::NUM_CPU_CORES)); ASSERT(thread != nullptr); - ASSERT(pinned_threads.at(core_id) == thread); + ASSERT(pinned_threads[core_id] == thread); pinned_threads[core_id] = nullptr; } |