diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-07-02 17:29:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 17:29:01 +0200 |
commit | eaa62aee988454f9cbd58219aa4d82d7e152c61d (patch) | |
tree | 8fa1e87467e9e37fce6ca159d8bb99d2ab907628 /src/core/memory.h | |
parent | Merge pull request #10710 from liamwhite/romfs2 (diff) | |
parent | Memory Tracker: Use 64 bit atomics instead of 128 bits (diff) | |
download | yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.gz yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.bz2 yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.lz yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.xz yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.tar.zst yuzu-eaa62aee988454f9cbd58219aa4d82d7e152c61d.zip |
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 72a0be813..ea01824f8 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -5,6 +5,7 @@ #include <cstddef> #include <memory> +#include <span> #include <string> #include "common/typed_address.h" #include "core/hle/result.h" @@ -15,7 +16,8 @@ struct PageTable; namespace Core { class System; -} +class GPUDirtyMemoryManager; +} // namespace Core namespace Kernel { class PhysicalMemory; @@ -458,6 +460,8 @@ public: */ void MarkRegionDebug(Common::ProcessAddress vaddr, u64 size, bool debug); + void SetGPUDirtyManagers(std::span<Core::GPUDirtyMemoryManager> managers); + private: Core::System& system; |