hle: Fix QueryMemory response for MemoryInfo.
This commit is contained in:
parent
716e5cf070
commit
dcd6bb82f7
7 changed files with 34 additions and 152 deletions
|
@ -446,7 +446,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point,
|
|||
// Map the page to the current process' address space.
|
||||
// TODO(Subv): Find the correct MemoryState for this region.
|
||||
vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE,
|
||||
linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Static);
|
||||
linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::ThreadLocalStorage);
|
||||
}
|
||||
|
||||
// Mark the slot as used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue