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

vm_manager: Correct ordering of last two struct members of MemoryInfo

These should be swapped.
Lioncash 7 лет назад
Родитель
Сommit
b1b855c5d9
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/core/hle/kernel/vm_manager.h

+ 2 - 2
src/core/hle/kernel/vm_manager.h

@@ -159,8 +159,8 @@ struct MemoryInfo {
     u32 state;
     u32 attributes;
     u32 permission;
-    u32 device_refcount;
-    u32 ipc_refcount;
+    u32 ipc_ref_count;
+    u32 device_ref_count;
 };
 static_assert(sizeof(MemoryInfo) == 0x28, "MemoryInfo has incorrect size.");