diff options
author | Liam <[email protected]> | 2023-11-17 23:44:53 +0200 |
---|---|---|
committer | t895 <[email protected]> | 2023-11-25 00:46:47 -0500 |
commit | 9f91ba1f7357c61dd2c7c3b437ea203d467fd400 (patch) | |
tree | 3cfe55acf5d2f8a0d75373934b4c22a4e9bb2a09 /src/core/device_memory.cpp | |
parent | 48388376206aaa7d887b41030019035a06203867 (diff) | |
download | yuzu-mainline-9f91ba1f7357c61dd2c7c3b437ea203d467fd400.tar.gz yuzu-mainline-9f91ba1f7357c61dd2c7c3b437ea203d467fd400.zip |
arm: Implement native code execution backend
Diffstat (limited to 'src/core/device_memory.cpp')
-rw-r--r-- | src/core/device_memory.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/device_memory.cpp b/src/core/device_memory.cpp index 0528a8e3b..3a9151646 100644 --- a/src/core/device_memory.cpp +++ b/src/core/device_memory.cpp @@ -12,13 +12,9 @@ constexpr size_t VirtualReserveSize = 1ULL << 38; constexpr size_t VirtualReserveSize = 1ULL << 39; #endif -DeviceMemory::DeviceMemory(bool direct_mapped_address) +DeviceMemory::DeviceMemory() : buffer{Kernel::Board::Nintendo::Nx::KSystemControl::Init::GetIntendedMemorySize(), - VirtualReserveSize} { - if (direct_mapped_address) { - buffer.EnableDirectMappedAddress(); - } -} + VirtualReserveSize} {} DeviceMemory::~DeviceMemory() = default; |