diff options
| author | 2023-03-23 19:58:48 -0400 | |
|---|---|---|
| committer | 2023-03-23 20:28:47 -0400 | |
| commit | 41d99aa89db7ee483112e49baa6c86e14adbd168 (patch) | |
| tree | 085ba1f2eb6a75c2b93d70834cc20d4b14f4d10f /src/core/hle/kernel/kernel.cpp | |
| parent | Merge pull request #9971 from Morph1984/q (diff) | |
| download | yuzu-41d99aa89db7ee483112e49baa6c86e14adbd168.tar.gz yuzu-41d99aa89db7ee483112e49baa6c86e14adbd168.tar.xz yuzu-41d99aa89db7ee483112e49baa6c86e14adbd168.zip | |
memory: rename global memory references to application memory
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 29809b2c5..4f3366c9d 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -102,7 +102,7 @@ struct KernelCore::Impl { | |||
| 102 | void InitializeCores() { | 102 | void InitializeCores() { |
| 103 | for (u32 core_id = 0; core_id < Core::Hardware::NUM_CPU_CORES; core_id++) { | 103 | for (u32 core_id = 0; core_id < Core::Hardware::NUM_CPU_CORES; core_id++) { |
| 104 | cores[core_id]->Initialize((*application_process).Is64BitProcess()); | 104 | cores[core_id]->Initialize((*application_process).Is64BitProcess()); |
| 105 | system.Memory().SetCurrentPageTable(*application_process, core_id); | 105 | system.ApplicationMemory().SetCurrentPageTable(*application_process, core_id); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | 108 | ||
| @@ -206,7 +206,7 @@ struct KernelCore::Impl { | |||
| 206 | 206 | ||
| 207 | void InitializePhysicalCores() { | 207 | void InitializePhysicalCores() { |
| 208 | exclusive_monitor = | 208 | exclusive_monitor = |
| 209 | Core::MakeExclusiveMonitor(system.Memory(), Core::Hardware::NUM_CPU_CORES); | 209 | Core::MakeExclusiveMonitor(system.ApplicationMemory(), Core::Hardware::NUM_CPU_CORES); |
| 210 | for (u32 i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) { | 210 | for (u32 i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) { |
| 211 | const s32 core{static_cast<s32>(i)}; | 211 | const s32 core{static_cast<s32>(i)}; |
| 212 | 212 | ||