Skip to content

Commit

Permalink
removed some debuging code
Browse files Browse the repository at this point in the history
  • Loading branch information
gonccalo committed Apr 14, 2017
1 parent 8088653 commit 0fec6b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gameboygo/memory.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package main
import "os"
//import "os"
//import "fmt"
var ram [0x10000]uint8

Expand Down Expand Up @@ -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)
Expand All @@ -46,6 +47,7 @@ func writeByte(addr uint16, b uint8) bool{
panic(err)
}
f.Close()
*/
}
ram[addr] = b
return true
Expand Down

0 comments on commit 0fec6b2

Please sign in to comment.