Cleaned up for better readability.

This commit is contained in:
2026-04-16 08:01:50 +02:00
parent 12c42d9563
commit 5affe72af5

View File

@@ -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