c0e45a3c78
- That way, we can consolidate the memory layout to one place.
15 lines
447 B
C++
15 lines
447 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/device_memory.h"
|
|
#include "hle/kernel/board/nintendo/nx/k_system_control.h"
|
|
|
|
namespace Core {
|
|
|
|
DeviceMemory::DeviceMemory()
|
|
: buffer{Kernel::Board::Nintendo::Nx::KSystemControl::Init::GetIntendedMemorySize(),
|
|
1ULL << 39} {}
|
|
DeviceMemory::~DeviceMemory() = default;
|
|
|
|
} // namespace Core
|