diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-27 07:21:48 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-09-04 18:23:25 +0200 |
commit | 5ce3015945e327751a053f7a5a1331a33f07819e (patch) | |
tree | d12f57a8b573e466c2b5a18bf0a40a019782219a /src/core/hle/service/am/applets/controller.h | |
parent | Project Mjölnir: Part 2 - Controller Applet (diff) | |
download | yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.gz yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.bz2 yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.lz yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.xz yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.tar.zst yuzu-5ce3015945e327751a053f7a5a1331a33f07819e.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/controller.h')
-rw-r--r-- | src/core/hle/service/am/applets/controller.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/am/applets/controller.h b/src/core/hle/service/am/applets/controller.h index 90a78d508..31ba2af4f 100644 --- a/src/core/hle/service/am/applets/controller.h +++ b/src/core/hle/service/am/applets/controller.h @@ -16,6 +16,7 @@ class System; namespace Service::AM::Applets { using IdentificationColor = std::array<u8, 4>; +using ExplainText = std::array<char, 0x81>; enum class LibraryAppletVersion : u32_le { Version3 = 0x3, // 1.0.0 - 2.3.0 @@ -65,7 +66,7 @@ struct ControllerSupportArgOld { ControllerSupportArgHeader header{}; std::array<IdentificationColor, 4> identification_colors{}; bool enable_explain_text{}; - std::array<std::array<char, 0x81>, 4> explain_text{}; + std::array<ExplainText, 4> explain_text{}; }; static_assert(sizeof(ControllerSupportArgOld) == 0x21C, "ControllerSupportArgOld has incorrect size."); @@ -75,7 +76,7 @@ struct ControllerSupportArgNew { ControllerSupportArgHeader header{}; std::array<IdentificationColor, 8> identification_colors{}; bool enable_explain_text{}; - std::array<std::array<char, 0x81>, 8> explain_text{}; + std::array<ExplainText, 8> explain_text{}; }; static_assert(sizeof(ControllerSupportArgNew) == 0x430, "ControllerSupportArgNew has incorrect size."); |