From e869ad20bdb088c90bae62d70432ed0d875bed75 Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Sat, 17 Aug 2024 08:58:58 +0900 Subject: [PATCH] fix 'r' pattern --- internal/rendertest/main.go | 1 + tms9918/pattern.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/rendertest/main.go b/internal/rendertest/main.go index 156a2b7..e74f22e 100644 --- a/internal/rendertest/main.go +++ b/internal/rendertest/main.go @@ -33,6 +33,7 @@ func main() { vdp.Render(img) dur := time.Since(start) log.Printf("rendered in %d", dur) + log.Printf("start=%s", start) // output as PNG f, err := os.Create("test.png") diff --git a/tms9918/pattern.go b/tms9918/pattern.go index 622e4fc..4b13c73 100644 --- a/tms9918/pattern.go +++ b/tms9918/pattern.go @@ -85,7 +85,7 @@ var ReferencePattern = []uint8{ 0x00, 0x00, 0xF8, 0x88, 0x88, 0x88, 0xF8, 0x00, // o 0x00, 0x00, 0xF0, 0x88, 0xF0, 0x80, 0x80, 0x00, // p 0x00, 0x00, 0xF8, 0x88, 0xA8, 0x90, 0xE0, 0x00, // q - 0x00, 0x00, 0xF8, 0x88, 0xF8, 0xA0, 0x90, 0x00, // r + 0x00, 0x00, 0xF0, 0x88, 0xF0, 0xA0, 0x90, 0x00, // r 0x00, 0x00, 0x78, 0x80, 0x70, 0x08, 0xF0, 0x00, // s 0x00, 0x00, 0xF8, 0x20, 0x20, 0x20, 0x20, 0x00, // t 0x00, 0x00, 0x88, 0x88, 0x88, 0x88, 0x70, 0x00, // u