summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-03-23 10:00:19 -0400
committerGravatar GitHub2023-03-23 10:00:19 -0400
commitc41a4baf06efe935f08331bc6f8ff6d80dc088f5 (patch)
treea6580d41bd440b240b2f60db38fdeec60fca2eff /src/core/core.cpp
parentMerge pull request #9962 from Kelebek1/disable_srgb (diff)
parentkernel: use KTypedAddress for addresses (diff)
downloadyuzu-c41a4baf06efe935f08331bc6f8ff6d80dc088f5.tar.gz
yuzu-c41a4baf06efe935f08331bc6f8ff6d80dc088f5.tar.xz
yuzu-c41a4baf06efe935f08331bc6f8ff6d80dc088f5.zip
Merge pull request #9964 from liamwhite/typed-address
kernel: use KTypedAddress for addresses
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 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
567void System::InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size) { 567void 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
796void System::RegisterCheatList(const std::vector<Memory::CheatEntry>& list, 796void 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);