mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 15:39:08 +00:00
Fix port.
This commit is contained in:
parent
a30cad5e8a
commit
66cee41b99
@ -1611,7 +1611,7 @@ template <
|
||||
// Gets the port for an IN or OUT; these are always 16-bit.
|
||||
const auto port = [&](Source source) -> uint16_t {
|
||||
switch(source) {
|
||||
case Source::DirectAddress: return instruction.operand();
|
||||
case Source::DirectAddress: return instruction.offset();
|
||||
default: return registers.dx();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user