summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-01-26 16:14:18 -0400
committerGravatar FernandoS272020-01-27 09:54:11 -0400
commit2d1984c20c75e03ec79eeb3806b12efa1679b977 (patch)
tree79a457c2fb0cabd810eac92f3cb245d344ed9c3b /src/core/core.cpp
parentSystem: Correct PrepareReschedule. (diff)
downloadyuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.tar.gz
yuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.tar.xz
yuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.zip
System: Address Feedback
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index c2295f69c..c53d122be 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -121,8 +121,8 @@ struct System::Impl {
121 } 121 }
122 122
123 Kernel::PhysicalCore& CurrentPhysicalCore() { 123 Kernel::PhysicalCore& CurrentPhysicalCore() {
124 const auto i = cpu_manager.GetActiveCoreIndex(); 124 const auto index = cpu_manager.GetActiveCoreIndex();
125 return kernel.PhysicalCore(i); 125 return kernel.PhysicalCore(index);
126 } 126 }
127 127
128 Kernel::PhysicalCore& GetPhysicalCore(std::size_t index) { 128 Kernel::PhysicalCore& GetPhysicalCore(std::size_t index) {