From 5affe72af5e179d510f114386ae154c7128ee9cf Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Thu, 16 Apr 2026 08:01:50 +0200 Subject: [PATCH] Cleaned up for better readability. --- internal/cpu/cpu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cpu/cpu.go b/internal/cpu/cpu.go index 9bb6795..b86449d 100644 --- a/internal/cpu/cpu.go +++ b/internal/cpu/cpu.go @@ -34,9 +34,9 @@ func (c *CPU) Reset() { c.A = 0 c.X = 0 c.Y = 0 - c.SP = 0xFD - c.Status = 0x24 c.PC = 0x0000 + c.SP = 0xFD + c.Status = FlagUnused | FlagInterrupt } // Small helper func to flip the status register bits