diff --git a/main.go b/main.go index c2c71b5..174d857 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ const ( FONT_HEIGHT = 12 // Height of one "font" (or block). NUM_X_FONTS = 50 // Number of horizontal fonts contained in VRAM. NUM_Y_FONTS = 18 // Number of vertical fonts contained in VRAM. - PALETTE_ENTRIES = 16 // Number of CLUT palette entries. + PALETTE_ENTRIES = 64 // Number of CLUT palette entries. TV_GRAPHICS = 0x09 // 50x18 (48x16) 16 color TV graphics mode. MEMORY_PRESET = 0x01 // Set all VRAM to palette index. BORDER_PRESET = 0x02 // Set border to palette index. diff --git a/test/main.go b/test/main.go index bc669cb..7ff89e1 100644 --- a/test/main.go +++ b/test/main.go @@ -9,12 +9,12 @@ import ( func main() { //load data - cdg_file_data, err := ioutil.ReadFile("../cdg/SC-SBI-REMIX - Billy Idol - Rebel Yell.cdg") + cdg_file_data, err := ioutil.ReadFile("../cdg/JVC - Nursery - Do-Re-Mi.cdg") if err != nil { log.Fatal("Couldn't read .cdg file") } - png := karaoke.ScreenshotAtTime(cdg_file_data, 3) + png := karaoke.ScreenshotAtTime(cdg_file_data, 11) file, err := os.OpenFile( "screenshot.png",