From 0fec6b27bf0339a058f8ca6d1851a3599497cc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Grilo?= Date: Fri, 14 Apr 2017 18:40:02 +0100 Subject: [PATCH] removed some debuging code --- gameboygo/memory.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gameboygo/memory.go b/gameboygo/memory.go index ef20f03..a49bcc2 100644 --- a/gameboygo/memory.go +++ b/gameboygo/memory.go @@ -1,5 +1,5 @@ package main -import "os" +//import "os" //import "fmt" var ram [0x10000]uint8 @@ -38,6 +38,7 @@ func writeByte(addr uint16, b uint8) bool{ return true } else if addr == 0xFF01{ //serial? + /* f, err := os.OpenFile("testing.txt", os.O_APPEND|os.O_WRONLY, 0600) if err != nil { panic(err) @@ -46,6 +47,7 @@ func writeByte(addr uint16, b uint8) bool{ panic(err) } f.Close() + */ } ram[addr] = b return true