diff options
author | german77 <juangerman-13@hotmail.com> | 2021-09-21 02:44:34 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:23 +0100 |
commit | 967cca10ff5721cc942f557c3e0a20c07f5aa45e (patch) | |
tree | 464abf622ab259581a04ffea6ad99330cfc27eb8 /src/core/core.h | |
parent | core/hid: Add emulated controllers (diff) | |
download | yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.gz yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.bz2 yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.lz yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.xz yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.tar.zst yuzu-967cca10ff5721cc942f557c3e0a20c07f5aa45e.zip |
Diffstat (limited to '')
-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 01bc0a2c7..5a031efb0 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -89,6 +89,10 @@ namespace Core::Hardware { class InterruptManager; } +namespace Core::HID { +class HIDCore; +} + namespace Core { class ARM_Interface; @@ -285,6 +289,12 @@ public: /// Provides a constant reference to the kernel instance. [[nodiscard]] const Kernel::KernelCore& Kernel() const; + /// Gets a mutable reference to the HID interface + [[nodiscard]] HID::HIDCore& HIDCore(); + + /// Gets an immutable reference to the HID interface. + [[nodiscard]] const HID::HIDCore& HIDCore() const; + /// Provides a reference to the internal PerfStats instance. [[nodiscard]] Core::PerfStats& GetPerfStats(); |