diff options
author | Liam <byteslice@airmail.cc> | 2024-02-12 01:31:01 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-12 15:16:00 +0100 |
commit | 44e7e85f231b611130f71405b5258f5250e8785b (patch) | |
tree | 47b33fdb9a3f2eadf4e2fd920804b26ab0bd21cd /src/core/hle/service/am/am_types.h | |
parent | am: rewrite IAppletCommonFunctions (diff) | |
download | yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar.gz yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar.bz2 yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar.lz yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar.xz yuzu-44e7e85f231b611130f71405b5258f5250e8785b.tar.zst yuzu-44e7e85f231b611130f71405b5258f5250e8785b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/am_types.h | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am_types.h b/src/core/hle/service/am/am_types.h index 749081e3d..bf2272c0e 100644 --- a/src/core/hle/service/am/am_types.h +++ b/src/core/hle/service/am/am_types.h @@ -18,7 +18,7 @@ enum class AppletType { SystemApplet, }; -enum class GameplayRecordingState : u32 { +enum class GamePlayRecordingState : u32 { Disabled, Enabled, }; @@ -136,6 +136,11 @@ enum class LibraryAppletMode : u32 { AllForegroundInitiallyHidden = 4, }; +enum class LaunchParameterKind : u32 { + UserChannel = 1, + AccountPreselectedUser = 2, +}; + enum class CommonArgumentVersion : u32 { Version0, Version1, @@ -152,6 +157,22 @@ enum class ThemeColor : u32 { BasicBlack = 3, }; +enum class InputDetectionPolicy : u32 { + Unknown0 = 0, + Unknown1 = 1, +}; + +enum class WindowOriginMode : u32 { + LowerLeft = 0, + UpperLeft = 1, +}; + +enum class ProgramSpecifyKind : u32 { + ExecuteProgram = 0, + JumpToSubApplicationProgramForDevelopment = 1, + RestartProgram = 2, +}; + struct CommonArguments { CommonArgumentVersion arguments_version; CommonArgumentSize size; @@ -175,6 +196,21 @@ struct AppletAttribute { }; static_assert(sizeof(AppletAttribute) == 0x80, "AppletAttribute has incorrect size."); +// This is nn::oe::DisplayVersion +struct DisplayVersion { + std::array<char, 0x10> string; +}; +static_assert(sizeof(DisplayVersion) == 0x10, "DisplayVersion has incorrect size."); + +// This is nn::pdm::ApplicationPlayStatistics +struct ApplicationPlayStatistics { + u64 application_id; + u64 play_time_ns; + u64 launch_count; +}; +static_assert(sizeof(ApplicationPlayStatistics) == 0x18, + "ApplicationPlayStatistics has incorrect size."); + using AppletResourceUserId = u64; using ProgramId = u64; |