diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-27 01:21:48 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-09-04 12:23:25 -0400 |
| commit | 5ce3015945e327751a053f7a5a1331a33f07819e (patch) | |
| tree | d12f57a8b573e466c2b5a18bf0a40a019782219a /src/core/hle/service/am/applets/controller.h | |
| parent | 5219615418920be8502aa24507572cf0930d65ea (diff) | |
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
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."); |
