aboutsummaryrefslogtreecommitdiff
path: root/src/DMA.cpp
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jesse@jesse.tg>2023-11-25 12:32:09 -0500
committerGitHub <noreply@github.com>2023-11-25 18:32:09 +0100
commit346dd4006ea1283136095d5c43f602324a095092 (patch)
treeedf04631782bbfcdb48eac79b79aebb11b40f479 /src/DMA.cpp
parent651b0f680c4531558990a5beb0e638968009dc51 (diff)
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
Diffstat (limited to 'src/DMA.cpp')
-rw-r--r--src/DMA.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DMA.cpp b/src/DMA.cpp
index 91f2345..8afc897 100644
--- a/src/DMA.cpp
+++ b/src/DMA.cpp
@@ -24,6 +24,8 @@
#include "DMA_Timings.h"
#include "Platform.h"
+namespace melonDS
+{
using Platform::Log;
using Platform::LogLevel;
@@ -47,7 +49,7 @@ using Platform::LogLevel;
// TODO: timings are nonseq when address is fixed/decrementing
-DMA::DMA(u32 cpu, u32 num, Melon::GPU& gpu) :
+DMA::DMA(u32 cpu, u32 num, melonDS::GPU& gpu) :
CPU(cpu),
Num(num),
GPU(gpu)
@@ -714,3 +716,5 @@ void DMA::Run()
template void DMA::Run<0>();
template void DMA::Run<1>();
+
+} \ No newline at end of file