Explorar o código

vm_manager: Correct ordering of last two struct members of MemoryInfo

These should be swapped.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
b1b855c5d9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 state;
     u32 attributes;
     u32 attributes;
     u32 permission;
     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.");
 static_assert(sizeof(MemoryInfo) == 0x28, "MemoryInfo has incorrect size.");