diff options
| author | 2023-03-17 21:26:04 -0400 | |
|---|---|---|
| committer | 2023-03-22 09:35:16 -0400 | |
| commit | fb49ec19c1fb6030fcc960077e82c998290d0ab8 (patch) | |
| tree | aa5f53cbbfc2b255923bcf362ee0009938ed8187 /src/core/core.cpp | |
| parent | Merge pull request #9955 from liamwhite/color-blend-equation (diff) | |
| download | yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.gz yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.xz yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.zip | |
kernel: use KTypedAddress for addresses
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index d2b597068..f6273ac39 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -564,7 +564,7 @@ void System::InvalidateCpuInstructionCaches() { | |||
| 564 | impl->kernel.InvalidateAllInstructionCaches(); | 564 | impl->kernel.InvalidateAllInstructionCaches(); |
| 565 | } | 565 | } |
| 566 | 566 | ||
| 567 | void System::InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size) { | 567 | void System::InvalidateCpuInstructionCacheRange(u64 addr, std::size_t size) { |
| 568 | impl->kernel.InvalidateCpuInstructionCacheRange(addr, size); | 568 | impl->kernel.InvalidateCpuInstructionCacheRange(addr, size); |
| 569 | } | 569 | } |
| 570 | 570 | ||
| @@ -794,7 +794,7 @@ FileSys::VirtualFilesystem System::GetFilesystem() const { | |||
| 794 | } | 794 | } |
| 795 | 795 | ||
| 796 | void System::RegisterCheatList(const std::vector<Memory::CheatEntry>& list, | 796 | void System::RegisterCheatList(const std::vector<Memory::CheatEntry>& list, |
| 797 | const std::array<u8, 32>& build_id, VAddr main_region_begin, | 797 | const std::array<u8, 32>& build_id, u64 main_region_begin, |
| 798 | u64 main_region_size) { | 798 | u64 main_region_size) { |
| 799 | impl->cheat_engine = std::make_unique<Memory::CheatEngine>(*this, list, build_id); | 799 | impl->cheat_engine = std::make_unique<Memory::CheatEngine>(*this, list, build_id); |
| 800 | impl->cheat_engine->SetMainMemoryParameters(main_region_begin, main_region_size); | 800 | impl->cheat_engine->SetMainMemoryParameters(main_region_begin, main_region_size); |