Update src/core/hle/kernel/k_page_table_base.cpp
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
This commit is contained in:
parent
652545152e
commit
e8fb980751
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ Result KPageTableBase::InitializeForProcess(Svc::CreateProcessFlag as_type, bool
|
||||||
const bool is_64bit_as = (as_type & as_mask) == Svc::CreateProcessFlag::AddressSpace64Bit;
|
const bool is_64bit_as = (as_type & as_mask) == Svc::CreateProcessFlag::AddressSpace64Bit;
|
||||||
|
|
||||||
if (is_64bit_as && (as_type & Svc::CreateProcessFlag::EnableAliasRegionExtraSize)
|
if (is_64bit_as && (as_type & Svc::CreateProcessFlag::EnableAliasRegionExtraSize)
|
||||||
!= static_cast<Svc::CreateProcessFlag>(0) && alias_region_size) {
|
!= Svc::CreateProcessFlag{0} && alias_region_size) {
|
||||||
const size_t address_space_size = (GetInteger(end) - GetInteger(start));
|
const size_t address_space_size = (GetInteger(end) - GetInteger(start));
|
||||||
|
|
||||||
// Same as address_space_size/8 but faster due to bit shifting operation
|
// Same as address_space_size/8 but faster due to bit shifting operation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue