mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-14 10:16:21 +00:00
Rationalise some of the reset/initialise logic across pProcessor implementations.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -6,11 +6,11 @@ EightBit::Processor::Processor(Memory& memory)
|
||||
cycles(0),
|
||||
m_halted(false),
|
||||
m_power(false) {
|
||||
PC().word = 0;
|
||||
PC().word = MEMPTR().word = 0;
|
||||
}
|
||||
|
||||
void EightBit::Processor::reset() {
|
||||
PC().word = 0;
|
||||
PC().word = MEMPTR().word = 0;
|
||||
}
|
||||
|
||||
void EightBit::Processor::initialise() {
|
||||
|
||||
Reference in New Issue
Block a user