mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-05 21:25:12 +00:00
Correct constructions of register16_t: the structure is "#ifdef"ed for different endian arrangements.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -130,7 +130,7 @@ void EightBit::GameBoy::IoRegisters::Bus_WrittenByte(EightBit::EventArgs) {
|
||||
case SCX:
|
||||
break;
|
||||
case DMA:
|
||||
m_dmaAddress = { 0, value };
|
||||
m_dmaAddress = register16_t(0, value);
|
||||
m_dmaTransferActive = true;
|
||||
break;
|
||||
case LY: // R/O
|
||||
|
Reference in New Issue
Block a user