aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.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/GPU2D.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/GPU2D.cpp')
-rw-r--r--src/GPU2D.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index e892116..e7fb9a2 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -21,6 +21,8 @@
#include "NDS.h"
#include "GPU.h"
+namespace melonDS
+{
using Platform::Log;
using Platform::LogLevel;
@@ -84,8 +86,7 @@ using Platform::LogLevel;
namespace GPU2D
{
-
-Unit::Unit(u32 num, Melon::GPU& gpu) : Num(num), GPU(gpu)
+Unit::Unit(u32 num, melonDS::GPU& gpu) : Num(num), GPU(gpu)
{
}
@@ -722,3 +723,4 @@ void Unit::GetOBJVRAM(u8*& data, u32& mask)
}
}
+}