diff --git a/OSBindings/Mac/Clock SignalTests/65816kromTests.swift b/OSBindings/Mac/Clock SignalTests/65816kromTests.swift index eaefc0cb7..023dee997 100644 --- a/OSBindings/Mac/Clock SignalTests/65816kromTests.swift +++ b/OSBindings/Mac/Clock SignalTests/65816kromTests.swift @@ -52,6 +52,9 @@ class Krom65816Tests: XCTestCase { machine.setValue(0x00ff, for: .stackPointer) machine.setValue(0x34, for: .flags) + // There seems to be some Nintendo-special register at address 0x0000. + machine.setValue(0xb5, forAddress: 0x0000) + // Poke some fixed values for SNES registers to get past initial setup. machine.setValue(0x42, forAddress: 0x4210) // "RDNMI", apparently; this says: CPU version 2, vblank interrupt request. var allowNegativeError = false diff --git a/Processors/65816/Implementation/65816Implementation.hpp b/Processors/65816/Implementation/65816Implementation.hpp index 549baef4e..e308352b4 100644 --- a/Processors/65816/Implementation/65816Implementation.hpp +++ b/Processors/65816/Implementation/65816Implementation.hpp @@ -435,7 +435,7 @@ template void Processor void Processor