summaryrefslogtreecommitdiffstats
path: root/src/core/device_memory.cpp
blob: e6bc6308641b550214a2d8f9eae6e11d261eba86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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