From 3cb777e5ddfd398b274952b6aea4ca68acbe4cb1 Mon Sep 17 00:00:00 2001 From: Ralph Caraveo Date: Mon, 28 Apr 2014 14:00:08 -0700 Subject: [PATCH] Additional tweaks --- HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.go b/HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.go index 8111169..99fc342 100644 --- a/HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.go +++ b/HTML5-CDGPlayer_files/cdgmagic_cdgdecoder_lowresource.go @@ -107,13 +107,14 @@ func main() { fmt.Println("File Length: ", len(cdg_file_data)) + //TODO: fix bug, for some reason can't loop over all the bytes of the len(cdg_file_data) //loop through some bytes for i := 0; i < 20000; i++ { decode_packs(cdg_file_data, i) redrawCanvas() - if i%500 == 0 { - snap(i) - } + //if i%100 == 0 { + snap(i) + //} } //This command works, outputting the images as a video