diff options
| author | 2022-10-06 21:29:53 +0200 | |
|---|---|---|
| committer | 2022-10-06 21:29:53 +0200 | |
| commit | 1effa578f12f79d7816e3543291f302f126cc1d2 (patch) | |
| tree | 14803b31b6817294d40d57446f6fa94c5ff3fe9a /src/core/memory.cpp | |
| parent | Merge pull request #9025 from FernandoS27/slava-ukrayini (diff) | |
| parent | vulkan_blitter: Fix pool allocation double free. (diff) | |
| download | yuzu-1effa578f12f79d7816e3543291f302f126cc1d2.tar.gz yuzu-1effa578f12f79d7816e3543291f302f126cc1d2.tar.xz yuzu-1effa578f12f79d7816e3543291f302f126cc1d2.zip | |
Merge pull request #8467 from FernandoS27/yfc-rel-1
Project yuzu Fried Chicken (Y.F.C.) Part 1
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 34ad7cadd..2ac792566 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp | |||
| @@ -551,6 +551,11 @@ struct Memory::Impl { | |||
| 551 | []() {}); | 551 | []() {}); |
| 552 | } | 552 | } |
| 553 | 553 | ||
| 554 | [[nodiscard]] u8* GetPointerSilent(const VAddr vaddr) const { | ||
| 555 | return GetPointerImpl( | ||
| 556 | vaddr, []() {}, []() {}); | ||
| 557 | } | ||
| 558 | |||
| 554 | /** | 559 | /** |
| 555 | * Reads a particular data type out of memory at the given virtual address. | 560 | * Reads a particular data type out of memory at the given virtual address. |
| 556 | * | 561 | * |
| @@ -686,6 +691,10 @@ u8* Memory::GetPointer(VAddr vaddr) { | |||
| 686 | return impl->GetPointer(vaddr); | 691 | return impl->GetPointer(vaddr); |
| 687 | } | 692 | } |
| 688 | 693 | ||
| 694 | u8* Memory::GetPointerSilent(VAddr vaddr) { | ||
| 695 | return impl->GetPointerSilent(vaddr); | ||
| 696 | } | ||
| 697 | |||
| 689 | const u8* Memory::GetPointer(VAddr vaddr) const { | 698 | const u8* Memory::GetPointer(VAddr vaddr) const { |
| 690 | return impl->GetPointer(vaddr); | 699 | return impl->GetPointer(vaddr); |
| 691 | } | 700 | } |