[XAM] Fixed datatype for uint32_t user settings

This commit is contained in:
Adrian 2024-12-11 18:01:00 +00:00 committed by Radosław Gliński
parent e93373660f
commit 41771055f8
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class UserSetting {
private:
void CreateUserData(uint32_t setting_id, uint32_t data) {
header_.setting_type = static_cast<uint8_t>(X_USER_DATA_TYPE::INT32);
header_.s64 = data;
header_.u32 = data;
user_data_ = std::make_unique<Uint32UserData>(data);
}
void CreateUserData(uint32_t setting_id, int32_t data) {