aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU2D.h')
-rw-r--r--src/GPU2D.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GPU2D.h b/src/GPU2D.h
index 5a1192e..1776680 100644
--- a/src/GPU2D.h
+++ b/src/GPU2D.h
@@ -29,6 +29,7 @@ public:
void DoSavestate(Savestate* file);
+ void SetEnabled(bool enable) { Enabled = enable; }
void SetFramebuffer(u32* buf);
u8 Read8(u32 addr);
@@ -64,6 +65,7 @@ public:
private:
u32 Num;
+ bool Enabled;
u32* Framebuffer;
u16 DispFIFO[16];