mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 04:15:01 +00:00
Grammar
This commit is contained in:
parent
f8d71b59d9
commit
0503054b40
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ struct OrbisVirtualQueryInfo {
|
||||||
BitField<1, 1, u32> is_direct;
|
BitField<1, 1, u32> is_direct;
|
||||||
BitField<2, 1, u32> is_stack;
|
BitField<2, 1, u32> is_stack;
|
||||||
BitField<3, 1, u32> is_pooled;
|
BitField<3, 1, u32> is_pooled;
|
||||||
BitField<4, 1, u32> is_commited;
|
BitField<4, 1, u32> is_committed;
|
||||||
};
|
};
|
||||||
std::array<char, 32> name;
|
std::array<char, 32> name;
|
||||||
};
|
};
|
||||||
|
|
|
@ -313,7 +313,7 @@ int MemoryManager::VirtualQuery(VAddr addr, int flags,
|
||||||
info->is_direct.Assign(vma.type == VMAType::Direct);
|
info->is_direct.Assign(vma.type == VMAType::Direct);
|
||||||
info->is_stack.Assign(vma.type == VMAType::Stack);
|
info->is_stack.Assign(vma.type == VMAType::Stack);
|
||||||
info->is_pooled.Assign(vma.type == VMAType::Pooled);
|
info->is_pooled.Assign(vma.type == VMAType::Pooled);
|
||||||
info->is_commited.Assign(vma.type != VMAType::Free && vma.type != VMAType::Reserved);
|
info->is_committed.Assign(vma.type != VMAType::Free && vma.type != VMAType::Reserved);
|
||||||
vma.name.copy(info->name.data(), std::min(info->name.size(), vma.name.size()));
|
vma.name.copy(info->name.data(), std::min(info->name.size(), vma.name.size()));
|
||||||
if (vma.type == VMAType::Direct) {
|
if (vma.type == VMAType::Direct) {
|
||||||
const auto dmem_it = FindDmemArea(vma.phys_base);
|
const auto dmem_it = FindDmemArea(vma.phys_base);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue