diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-26 18:33:20 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-27 03:53:34 +0100 |
commit | 4c2ed2706e3579ec1304907dad0d45673768e1fc (patch) | |
tree | 89f72c13ad6ab374a4e2d2d475b1e03320de7066 /src/core/core.h | |
parent | Merge pull request #3143 from ReinUsesLisp/indexing-bug (diff) | |
download | yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar.gz yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar.bz2 yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar.lz yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar.xz yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.tar.zst yuzu-4c2ed2706e3579ec1304907dad0d45673768e1fc.zip |
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index f9b1a2866..91184e433 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -86,6 +86,10 @@ namespace Core::Hardware { class InterruptManager; } +namespace Memory { +class Memory; +} + namespace Core { class ARM_Interface; @@ -225,6 +229,12 @@ public: /// Gets a constant reference to the exclusive monitor const ExclusiveMonitor& Monitor() const; + /// Gets a mutable reference to the system memory instance. + Memory::Memory& Memory(); + + /// Gets a constant reference to the system memory instance. + const Memory::Memory& Memory() const; + /// Gets a mutable reference to the GPU interface Tegra::GPU& GPU(); |