Add power support to processor base class.

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon
2017-08-31 12:13:00 +01:00
parent 20c126adfc
commit 1eb127ed72
5 changed files with 13 additions and 1 deletions

View File

@ -4,7 +4,8 @@
EightBit::Processor::Processor(Memory& memory)
: m_memory(memory),
cycles(0),
m_halted(false) {
m_halted(false),
m_power(false) {
PC().word = 0;
}