mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-07-02 11:24:11 +00:00
Refactor the MBC implementation to allow a single point of definition.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@ -44,7 +44,7 @@ namespace EightBit {
|
||||
static int promoteNibble(int value) { return value << 4; }
|
||||
static int demoteNibble(int value) { return highNibble(value); }
|
||||
|
||||
const Memory& getMemory() const { return m_memory; }
|
||||
Memory& getMemory() { return m_memory; }
|
||||
|
||||
register16_t& PC() { return pc; }
|
||||
|
||||
|
Reference in New Issue
Block a user