diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-19 03:18:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 03:18:37 +0100 |
commit | a560b9f5a26bdc49814930a0bec91d0ad6545942 (patch) | |
tree | 5abfe9ae81e69dadc10461771a3e3aa0b7540b26 /src/core/hle/service/set/setting_formats/device_settings.h | |
parent | Merge pull request #12683 from german77/amiibo-dump (diff) | |
parent | service: set: Implement stubbed functions (diff) | |
download | yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar.gz yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar.bz2 yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar.lz yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar.xz yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.tar.zst yuzu-a560b9f5a26bdc49814930a0bec91d0ad6545942.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/set/setting_formats/device_settings.h (renamed from src/core/hle/service/set/device_settings.h) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/service/set/device_settings.h b/src/core/hle/service/set/setting_formats/device_settings.h index f291d0ebe..2827756f6 100644 --- a/src/core/hle/service/set/device_settings.h +++ b/src/core/hle/service/set/setting_formats/device_settings.h @@ -7,10 +7,12 @@ #include <cstddef> #include "common/common_types.h" +#include "common/vector_math.h" +#include "core/hle/service/set/settings_types.h" namespace Service::Set { struct DeviceSettings { - std::array<u8, 0x10> reserved_000; + INSERT_PADDING_BYTES(0x10); // Reserved // nn::settings::BatteryLot std::array<u8, 0x18> ptm_battery_lot; @@ -19,26 +21,24 @@ struct DeviceSettings { u8 ptm_battery_version; // nn::settings::system::PtmCycleCountReliability u32 ptm_cycle_count_reliability; - - std::array<u8, 0x48> reserved_048; + INSERT_PADDING_BYTES(0x48); // Reserved // nn::settings::system::AnalogStickUserCalibration L std::array<u8, 0x10> analog_user_stick_calibration_l; // nn::settings::system::AnalogStickUserCalibration R std::array<u8, 0x10> analog_user_stick_calibration_r; - - std::array<u8, 0x20> reserved_0B0; + INSERT_PADDING_BYTES(0x20); // Reserved // nn::settings::system::ConsoleSixAxisSensorAccelerationBias - std::array<u8, 0xC> console_six_axis_sensor_acceleration_bias; + Common::Vec3<f32> console_six_axis_sensor_acceleration_bias; // nn::settings::system::ConsoleSixAxisSensorAngularVelocityBias - std::array<u8, 0xC> console_six_axis_sensor_angular_velocity_bias; + Common::Vec3<f32> console_six_axis_sensor_angular_velocity_bias; // nn::settings::system::ConsoleSixAxisSensorAccelerationGain std::array<u8, 0x24> console_six_axis_sensor_acceleration_gain; // nn::settings::system::ConsoleSixAxisSensorAngularVelocityGain std::array<u8, 0x24> console_six_axis_sensor_angular_velocity_gain; // nn::settings::system::ConsoleSixAxisSensorAngularVelocityTimeBias - std::array<u8, 0xC> console_six_axis_sensor_angular_velocity_time_bias; + Common::Vec3<f32> console_six_axis_sensor_angular_velocity_time_bias; // nn::settings::system::ConsoleSixAxisSensorAngularAcceleration std::array<u8, 0x24> console_six_axis_sensor_angular_acceleration; }; |