aboutsummaryrefslogtreecommitdiff
path: root/nes/nes.go
diff options
context:
space:
mode:
authorcrecher <crecher@crecher.net>2026-10-12 04:41:44 +0200
committercrecher <crecher@crecher.net>2026-10-12 04:41:44 +0200
commit931594106f0a1e9a5f6d89d3ed43453c65bff439 (patch)
tree08fac407f855f70705945c8cbcd75a711805fb7a /nes/nes.go
parente30df212d6a5ec5f60a8b1d52e491e32fe6a4572 (diff)
downloadgones-931594106f0a1e9a5f6d89d3ed43453c65bff439.tar.gz
gones-931594106f0a1e9a5f6d89d3ed43453c65bff439.zip
nes: gofmt
Diffstat (limited to 'nes/nes.go')
-rw-r--r--nes/nes.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/nes/nes.go b/nes/nes.go
index c4d09a0..0f2a754 100644
--- a/nes/nes.go
+++ b/nes/nes.go
@@ -6,9 +6,9 @@ import (
)
type Console struct {
- CPU *cpu.CPU
+ CPU *cpu.CPU
Cart *cart.Cartridge
- RAM [0x800]uint8
+ RAM [0x800]uint8
// PPU, APU, controllers once they exist
cycles uint64
}
@@ -31,4 +31,4 @@ func (n *Console) StepFrame() {
for done := 0; done < cyclesPerFrame; {
done += n.Step()
}
-} \ No newline at end of file
+}