mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-19 02:22:56 +00:00
Tidy up register and static method access.
Signed-off-by: Adrian.Conlon <adrian.conlon@arup.com>
This commit is contained in:
@@ -75,7 +75,7 @@ int EightBit::Intel8080::execute(uint8_t opcode) {
|
||||
//
|
||||
|
||||
void EightBit::Intel8080::___() {
|
||||
auto opcode = m_memory.get(pc.word - 1);
|
||||
auto opcode = m_memory.get(PC().word - 1);
|
||||
auto message = Disassembler::invalid(opcode);
|
||||
throw std::domain_error(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user