From aca81384c30d0e01e630a0dd503ed95c62a832bc Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sat, 7 Sep 2019 11:16:03 +0100 Subject: [PATCH] Correct PC power on value issue. Signed-off-by: Adrian Conlon --- EightBit/IntelProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EightBit/IntelProcessor.cs b/EightBit/IntelProcessor.cs index c238a88..79c4a28 100644 --- a/EightBit/IntelProcessor.cs +++ b/EightBit/IntelProcessor.cs @@ -100,8 +100,8 @@ namespace EightBit protected override void OnRaisedPOWER() { + this.PC.Word = this.SP.Word = this.AF.Word = this.BC.Word = this.DE.Word = this.HL.Word = (ushort)Mask.Mask16; this.RaiseHALT(); - this.SP.Word = this.AF.Word = this.BC.Word = this.DE.Word = this.HL.Word = (ushort)Mask.Mask16; base.OnRaisedPOWER(); }