summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/set/settings_types.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-28 17:57:47 +0100
committerGitHub <noreply@github.com>2024-01-28 17:57:47 +0100
commit820f1c8a166f4d3e27da4509f4c45706cdaf288e (patch)
treee4fb809322e24bf465f2b4da7b975b5c6071319f /src/core/hle/service/set/settings_types.h
parentMerge pull request #12802 from german77/mii_interface (diff)
parentservice: set: Increase settings version (diff)
downloadyuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar.gz
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar.bz2
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar.lz
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar.xz
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.tar.zst
yuzu-820f1c8a166f4d3e27da4509f4c45706cdaf288e.zip
Diffstat (limited to 'src/core/hle/service/set/settings_types.h')
-rw-r--r--src/core/hle/service/set/settings_types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/hle/service/set/settings_types.h b/src/core/hle/service/set/settings_types.h
index 968425319..ceb85b82a 100644
--- a/src/core/hle/service/set/settings_types.h
+++ b/src/core/hle/service/set/settings_types.h
@@ -23,9 +23,12 @@ enum class AudioOutputMode : u32 {
/// This is nn::settings::system::AudioOutputModeTarget
enum class AudioOutputModeTarget : u32 {
+ None,
Hdmi,
Speaker,
Headphone,
+ Type3,
+ Type4,
};
/// This is nn::settings::system::AudioVolumeTarget
@@ -367,6 +370,12 @@ struct AccountNotificationSettings {
static_assert(sizeof(AccountNotificationSettings) == 0x18,
"AccountNotificationSettings is an invalid size");
+/// This is nn::settings::factory::BatteryLot
+struct BatteryLot {
+ std::array<char, 0x18> lot_number;
+};
+static_assert(sizeof(BatteryLot) == 0x18, "BatteryLot is an invalid size");
+
/// This is nn::settings::system::EulaVersion
struct EulaVersion {
u32 version;
@@ -436,6 +445,12 @@ struct NotificationSettings {
};
static_assert(sizeof(NotificationSettings) == 0x18, "NotificationSettings is an invalid size");
+/// This is nn::settings::factory::SerialNumber
+struct SerialNumber {
+ std::array<char, 0x18> serial_number;
+};
+static_assert(sizeof(SerialNumber) == 0x18, "SerialNumber is an invalid size");
+
/// This is nn::settings::system::SleepSettings
struct SleepSettings {
SleepFlag flags;