aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D_Soft.h
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_Soft.h
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_Soft.h')
-rw-r--r--src/GPU2D_Soft.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/GPU2D_Soft.h b/src/GPU2D_Soft.h
index 7d6d65f..86943d3 100644
--- a/src/GPU2D_Soft.h
+++ b/src/GPU2D_Soft.h
@@ -20,10 +20,9 @@
#include "GPU2D.h"
-namespace Melon
+namespace melonDS
{
class GPU;
-}
namespace GPU2D
{
@@ -31,14 +30,14 @@ namespace GPU2D
class SoftRenderer : public Renderer2D
{
public:
- SoftRenderer(Melon::GPU& gpu);
+ SoftRenderer(melonDS::GPU& gpu);
~SoftRenderer() override {}
void DrawScanline(u32 line, Unit* unit) override;
void DrawSprites(u32 line, Unit* unit) override;
void VBlankEnd(Unit* unitA, Unit* unitB) override;
private:
- Melon::GPU& GPU;
+ melonDS::GPU& GPU;
alignas(8) u32 BGOBJLine[256*3];
u32* _3DLine;
@@ -84,3 +83,5 @@ private:
};
}
+
+} \ No newline at end of file