diff options
| author | 2020-02-11 19:56:24 -0400 | |
|---|---|---|
| committer | 2020-02-11 20:19:11 -0400 | |
| commit | 1e6f8aba04b7be0f90b97aed2527558c755935d6 (patch) | |
| tree | dea6dc5efd324eb6bc8667a114e20c6e91a28195 /src/core/tools/freezer.cpp | |
| parent | Kernel: Refactor synchronization to better match RE (diff) | |
| download | yuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.tar.gz yuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.tar.xz yuzu-1e6f8aba04b7be0f90b97aed2527558c755935d6.zip | |
Core: Set all hardware emulation constants in a single file.
Diffstat (limited to 'src/core/tools/freezer.cpp')
| -rw-r--r-- | src/core/tools/freezer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/tools/freezer.cpp b/src/core/tools/freezer.cpp index 55e0dbc49..1e060f009 100644 --- a/src/core/tools/freezer.cpp +++ b/src/core/tools/freezer.cpp | |||
| @@ -7,13 +7,14 @@ | |||
| 7 | #include "core/core.h" | 7 | #include "core/core.h" |
| 8 | #include "core/core_timing.h" | 8 | #include "core/core_timing.h" |
| 9 | #include "core/core_timing_util.h" | 9 | #include "core/core_timing_util.h" |
| 10 | #include "core/hardware_properties.h" | ||
| 10 | #include "core/memory.h" | 11 | #include "core/memory.h" |
| 11 | #include "core/tools/freezer.h" | 12 | #include "core/tools/freezer.h" |
| 12 | 13 | ||
| 13 | namespace Tools { | 14 | namespace Tools { |
| 14 | namespace { | 15 | namespace { |
| 15 | 16 | ||
| 16 | constexpr s64 MEMORY_FREEZER_TICKS = static_cast<s64>(Core::Timing::BASE_CLOCK_RATE / 60); | 17 | constexpr s64 MEMORY_FREEZER_TICKS = static_cast<s64>(Core::Hardware::BASE_CLOCK_RATE / 60); |
| 17 | 18 | ||
| 18 | u64 MemoryReadWidth(Memory::Memory& memory, u32 width, VAddr addr) { | 19 | u64 MemoryReadWidth(Memory::Memory& memory, u32 width, VAddr addr) { |
| 19 | switch (width) { | 20 | switch (width) { |