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/GPU2D.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/GPU2D.cpp') 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) } } +} -- cgit v1.2.3