2020-12-28 16:15:37 +01:00
|
|
|
// Copyright 2020 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/device_memory.h"
|
2022-02-22 00:50:44 +01:00
|
|
|
#include "hle/kernel/board/nintendo/nx/k_system_control.h"
|
2020-12-28 16:15:37 +01:00
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
|
2022-02-22 00:50:44 +01:00
|
|
|
DeviceMemory::DeviceMemory()
|
|
|
|
: buffer{Kernel::Board::Nintendo::Nx::KSystemControl::Init::GetIntendedMemorySize(),
|
|
|
|
1ULL << 39} {}
|
2020-12-28 16:15:37 +01:00
|
|
|
DeviceMemory::~DeviceMemory() = default;
|
|
|
|
|
|
|
|
} // namespace Core
|