From 346dd4006ea1283136095d5c43f602324a095092 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Sat, 25 Nov 2023 12:32:09 -0500 Subject: Move all core types into namespaces (#1886) * Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build --- src/DSi_NDMA.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/DSi_NDMA.cpp') diff --git a/src/DSi_NDMA.cpp b/src/DSi_NDMA.cpp index 0afb201..4f248ea 100644 --- a/src/DSi_NDMA.cpp +++ b/src/DSi_NDMA.cpp @@ -23,10 +23,12 @@ #include "GPU.h" #include "DSi_AES.h" +namespace melonDS +{ using Platform::Log; using Platform::LogLevel; -DSi_NDMA::DSi_NDMA(u32 cpu, u32 num, Melon::GPU& gpu) : GPU(gpu) +DSi_NDMA::DSi_NDMA(u32 cpu, u32 num, melonDS::GPU& gpu) : GPU(gpu) { CPU = cpu; Num = num; @@ -375,3 +377,5 @@ void DSi_NDMA::Run7() DSi::AES->CheckInputDMA(); DSi::AES->CheckOutputDMA(); } + +} \ No newline at end of file -- cgit v1.2.3