aboutsummaryrefslogtreecommitdiff
path: root/src/GPU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU.cpp')
-rw-r--r--src/GPU.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GPU.cpp b/src/GPU.cpp
index af8c5d8..8ac3e74 100644
--- a/src/GPU.cpp
+++ b/src/GPU.cpp
@@ -151,6 +151,11 @@ void Reset()
GPU2D_B->SetFramebuffer(&Framebuffer[256*0]);
}
+void Stop()
+{
+ memset(Framebuffer, 0, 256*192*2*4);
+}
+
// VRAM mapping notes
//