Correct accidental setting of PC to 0x0001 on power on.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-09-07 11:14:38 +01:00
parent 254cfbe342
commit def89dbcce

View File

@ -10,8 +10,8 @@ EightBit::IntelProcessor::IntelProcessor(Bus& bus)
RaisedHALT.connect([this](EventArgs) { ++PC(); });
RaisedPOWER.connect([this](EventArgs) {
PC() = SP() = AF() = BC() = DE() = HL() = Mask16;
raiseHALT();
SP() = AF() = BC() = DE() = HL() = Mask16;
});
}