aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU3D.h')
-rw-r--r--src/GPU3D.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GPU3D.h b/src/GPU3D.h
index f543ff8..1d3e126 100644
--- a/src/GPU3D.h
+++ b/src/GPU3D.h
@@ -81,11 +81,12 @@ struct Polygon
};
class Renderer3D;
+class NDS;
class GPU3D
{
public:
- GPU3D() noexcept = default;
+ GPU3D(melonDS::NDS& nds) noexcept;
~GPU3D() noexcept = default;
void Reset() noexcept;
@@ -124,6 +125,7 @@ public:
void Write16(u32 addr, u16 val) noexcept;
void Write32(u32 addr, u32 val) noexcept;
private:
+ melonDS::NDS& NDS;
typedef union
{
u64 _contents;