summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/types/shared_memory_format.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-01-01 22:23:56 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-04 03:21:14 +0100
commit6a244465cef86d7329f12dd1dfd5d6fdd415a0ed (patch)
tree0b69faca9aee4ab31705d07d57e55a75b1b2a809 /src/core/hle/service/hid/controllers/types/shared_memory_format.h
parentMerge pull request #12554 from german77/directconnect (diff)
downloadyuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.gz
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.bz2
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.lz
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.xz
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.tar.zst
yuzu-6a244465cef86d7329f12dd1dfd5d6fdd415a0ed.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/types/shared_memory_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/types/shared_memory_format.h b/src/core/hle/service/hid/controllers/types/shared_memory_format.h
index 2986c113e..976043b9c 100644
--- a/src/core/hle/service/hid/controllers/types/shared_memory_format.h
+++ b/src/core/hle/service/hid/controllers/types/shared_memory_format.h
@@ -171,7 +171,7 @@ static_assert(sizeof(NpadSharedMemoryEntry) == 0x5000, "NpadSharedMemoryEntry is
// This is nn::hid::detail::NpadSharedMemoryFormat
struct NpadSharedMemoryFormat {
- std::array<NpadSharedMemoryEntry, NpadCount> npad_entry;
+ std::array<NpadSharedMemoryEntry, MaxSupportedNpadIdTypes> npad_entry;
};
static_assert(sizeof(NpadSharedMemoryFormat) == 0x32000,
"NpadSharedMemoryFormat is an invalid size");