From fd14a68420695d00c8792dda965398309c27fea1 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Thu, 27 Aug 2020 16:59:42 +0300 Subject: [PATCH] [Kernel] NtQueryVirtualMemory state test case info --- src/xenia/kernel/xboxkrnl/xboxkrnl_memory.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_memory.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_memory.cc index e7c78a1f5..0c6fa0a4d 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_memory.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_memory.cc @@ -287,6 +287,7 @@ dword_result_t NtQueryVirtualMemory( // https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-memory_basic_information // State: ... This member can be one of the following values: MEM_COMMIT, // MEM_FREE, MEM_RESERVE. + // State queried by Beautiful Katamari before displaying the loading screen. uint32_t x_state; if (alloc_info.state & kMemoryAllocationCommit) { assert_not_zero(alloc_info.state & kMemoryAllocationReserve);