summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-11 16:24:48 +0200
committerLiam <byteslice@airmail.cc>2023-10-20 08:34:15 +0200
commit794e6c7a96dbca24780a4301ea439db7a532acc3 (patch)
treeee48ba26791d7c73cefb06997adcfc0d41389f35 /src/core/hle/service/nvnflinger
parentkernel: reshuffle ini1 size, add slab clear note (diff)
downloadyuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.gz
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.bz2
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.lz
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.xz
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.tar.zst
yuzu-794e6c7a96dbca24780a4301ea439db7a532acc3.zip
Diffstat (limited to 'src/core/hle/service/nvnflinger')
-rw-r--r--src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
index 469a53244..2e29bc848 100644
--- a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
+++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
@@ -46,7 +46,7 @@ Result AllocateIoForProcessAddressSpace(Common::ProcessAddress* out_map_address,
// Get bounds of where mapping is possible.
const VAddr alias_code_begin = GetInteger(page_table.GetAliasCodeRegionStart());
const VAddr alias_code_size = page_table.GetAliasCodeRegionSize() / YUZU_PAGESIZE;
- const auto state = Kernel::KMemoryState::Io;
+ const auto state = Kernel::KMemoryState::IoMemory;
const auto perm = Kernel::KMemoryPermission::UserReadWrite;
std::mt19937_64 rng{process->GetRandomEntropy(0)};