From 1de832a84c8d1ea5d95b899257f2cd88906f0fd1 Mon Sep 17 00:00:00 2001 From: Neo Anderson Date: Sat, 15 Feb 2020 12:26:13 -0800 Subject: [PATCH] Cleanup after self --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index e05f4fd..c2c71b5 100644 --- a/main.go +++ b/main.go @@ -59,6 +59,7 @@ func ScreenshotAtTime(cdgBytes []byte, timeInSec int) []byte { decode_packs(cdgBytes, timeInSec * PACKETS_PER_SEC) redrawCanvas() + defer resetCDGState() return snap() //This command works, outputting the images as a video