pineapple-src/src/core/device_memory.cpp

15 lines
428 B
C++
Raw Normal View History

2022-04-23 14:49:07 -04:00
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2020-12-28 10:15:37 -05:00
#include "core/device_memory.h"
2022-02-21 18:50:44 -05:00
#include "hle/kernel/board/nintendo/nx/k_system_control.h"
2020-12-28 10:15:37 -05:00
namespace Core {
2022-02-21 18:50:44 -05:00
DeviceMemory::DeviceMemory()
: buffer{Kernel::Board::Nintendo::Nx::KSystemControl::Init::GetIntendedMemorySize(),
1ULL << 39} {}
2020-12-28 10:15:37 -05:00
DeviceMemory::~DeviceMemory() = default;
} // namespace Core