2022-11-05 13:58:44 +01:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#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
|