mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-26 05:23:35 +00:00
"Merge Tagged PR 13018"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user