summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/touchscreen.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-04-20 19:00:26 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2022-04-24 00:11:43 +0200
commit0f3ad939a85494a8a9bdcb6f357c774f385f647e (patch)
tree1c050188b8ffb83815adcef9fd3efd200627cb90 /src/core/hle/service/hid/controllers/touchscreen.cpp
parentservice: hid: Access shared memory directly (diff)
downloadyuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar.gz
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar.bz2
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar.lz
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar.xz
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.tar.zst
yuzu-0f3ad939a85494a8a9bdcb6f357c774f385f647e.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/touchscreen.cpp')
-rw-r--r--src/core/hle/service/hid/controllers/touchscreen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/touchscreen.cpp b/src/core/hle/service/hid/controllers/touchscreen.cpp
index 5f584586b..108ce5a41 100644
--- a/src/core/hle/service/hid/controllers/touchscreen.cpp
+++ b/src/core/hle/service/hid/controllers/touchscreen.cpp
@@ -20,7 +20,8 @@ Controller_Touchscreen::Controller_Touchscreen(Core::HID::HIDCore& hid_core_,
: ControllerBase{hid_core_} {
static_assert(SHARED_MEMORY_OFFSET + sizeof(TouchSharedMemory) < shared_memory_size,
"TouchSharedMemory is bigger than the shared memory");
- shared_memory = std::construct_at(reinterpret_cast<TouchSharedMemory*>(raw_shared_memory_ + SHARED_MEMORY_OFFSET));
+ shared_memory = std::construct_at(
+ reinterpret_cast<TouchSharedMemory*>(raw_shared_memory_ + SHARED_MEMORY_OFFSET));
console = hid_core.GetEmulatedConsole();
}