Просмотр исходного кода

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

David Marcec 7 лет назад
Родитель
Сommit
192f1f7ebe
1 измененных файлов с 3 добавлено и 1 удалено
  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;