mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-02 12:45:15 +01:00
Port changes from Early Access
This commit is contained in:
parent
27b3044879
commit
362f2047b4
126 changed files with 14729 additions and 1754 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…
Add table
Add a link
Reference in a new issue