"Merge Tagged PR 13018"
This commit is contained in:
parent
f2aa821f94
commit
c280f95b1a
1 changed files with 2066 additions and 574 deletions
|
|
@ -49,8 +49,7 @@ struct Memory::Impl {
|
|||
void SetCurrentPageTable(Kernel::KProcess& process) {
|
||||
current_page_table = &process.GetPageTable().GetImpl();
|
||||
|
||||
if (std::addressof(process) == system.ApplicationProcess() &&
|
||||
Settings::IsFastmemEnabled()) {
|
||||
if (process.IsApplication() && Settings::IsFastmemEnabled()) {
|
||||
current_page_table->fastmem_arena = system.DeviceMemory().buffer.VirtualBasePointer();
|
||||
} else {
|
||||
current_page_table->fastmem_arena = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue