diff options
| author | 2020-01-26 16:14:18 -0400 | |
|---|---|---|
| committer | 2020-01-27 09:54:11 -0400 | |
| commit | 2d1984c20c75e03ec79eeb3806b12efa1679b977 (patch) | |
| tree | 79a457c2fb0cabd810eac92f3cb245d344ed9c3b /src/core/arm | |
| parent | System: Correct PrepareReschedule. (diff) | |
| download | yuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.tar.gz yuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.tar.xz yuzu-2d1984c20c75e03ec79eeb3806b12efa1679b977.zip | |
System: Address Feedback
Diffstat (limited to 'src/core/arm')
| -rw-r--r-- | src/core/arm/exclusive_monitor.cpp | 3 | ||||
| -rw-r--r-- | src/core/arm/exclusive_monitor.h | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/core/arm/exclusive_monitor.cpp b/src/core/arm/exclusive_monitor.cpp index 00e6a19d5..94570e520 100644 --- a/src/core/arm/exclusive_monitor.cpp +++ b/src/core/arm/exclusive_monitor.cpp | |||
| @@ -12,7 +12,8 @@ namespace Core { | |||
| 12 | 12 | ||
| 13 | ExclusiveMonitor::~ExclusiveMonitor() = default; | 13 | ExclusiveMonitor::~ExclusiveMonitor() = default; |
| 14 | 14 | ||
| 15 | std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::Memory& memory, std::size_t num_cores) { | 15 | std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::Memory& memory, |
| 16 | std::size_t num_cores) { | ||
| 16 | #ifdef ARCHITECTURE_x86_64 | 17 | #ifdef ARCHITECTURE_x86_64 |
| 17 | return std::make_unique<Core::DynarmicExclusiveMonitor>(memory, num_cores); | 18 | return std::make_unique<Core::DynarmicExclusiveMonitor>(memory, num_cores); |
| 18 | #else | 19 | #else |
diff --git a/src/core/arm/exclusive_monitor.h b/src/core/arm/exclusive_monitor.h index 18461f296..4ef418b90 100644 --- a/src/core/arm/exclusive_monitor.h +++ b/src/core/arm/exclusive_monitor.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | // Copyright 2020 yuzu emulator team | 1 | // Copyright 2018 yuzu emulator team |
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| @@ -28,6 +28,7 @@ public: | |||
| 28 | virtual bool ExclusiveWrite128(std::size_t core_index, VAddr vaddr, u128 value) = 0; | 28 | virtual bool ExclusiveWrite128(std::size_t core_index, VAddr vaddr, u128 value) = 0; |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::Memory& memory, std::size_t num_cores); | 31 | std::unique_ptr<Core::ExclusiveMonitor> MakeExclusiveMonitor(Memory::Memory& memory, |
| 32 | std::size_t num_cores); | ||
| 32 | 33 | ||
| 33 | } // namespace Core | 34 | } // namespace Core |