Browse Source

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

David Marcec 7 năm trước cách đây
mục cha
commit
192f1f7ebe
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/core/hle/service/friend/friend.cpp

+ 3 - 1
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;