diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-26 01:52:48 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-26 02:32:16 +0200 |
commit | 1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15 (patch) | |
tree | 6a7be70ff075abb38d06b82f378259bc315b8fdb /src/core/hle | |
parent | kernel: Migrate logging macros to fmt-compatible ones (diff) | |
download | yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar.gz yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar.bz2 yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar.lz yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar.xz yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.tar.zst yuzu-1913cf47833c4927e7f2b67dc87eeaaf4ae6ac15.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/shared_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp index b18e9aea4..f0b65c73d 100644 --- a/src/core/hle/kernel/shared_memory.cpp +++ b/src/core/hle/kernel/shared_memory.cpp @@ -152,7 +152,7 @@ VMAPermission SharedMemory::ConvertPermissions(MemoryPermission permission) { u32 masked_permissions = static_cast<u32>(permission) & static_cast<u32>(MemoryPermission::ReadWriteExecute); return static_cast<VMAPermission>(masked_permissions); -}; +} u8* SharedMemory::GetPointer(u32 offset) { return backing_block->data() + backing_block_offset + offset; |