Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account id

David Marcec9a4d35fd46f0
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index a00d7dce7e..296babc7ce 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -198,8 +198,10 @@ private:
NotificationTypes notification_type;
INSERT_PADDING_WORDS(
1); // TODO(ogniK): This doesn't seem to be used within any IPC returns as of now
- Common::UUID user_uuid;
+ u64_le account_id;
};
+ static_assert(sizeof(SizedNotificationInfo) == 0x10,
+ "SizedNotificationInfo is an incorrect size");
struct States {
bool has_updated_friends;