mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-03-05 14:29:54 +00:00
Correct a couple of minor mistakes found while working on the .net port.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
f0376fa81e
commit
382ae30d32
@ -11,7 +11,7 @@ namespace EightBit {
|
||||
InputOutput() = default;
|
||||
|
||||
[[nodiscard]] auto read(const uint8_t port) { return readInputPort(port); }
|
||||
void write(const uint8_t port, const uint8_t value) { return writeOutputPort(port, value); }
|
||||
void write(const uint8_t port, const uint8_t value) { writeOutputPort(port, value); }
|
||||
|
||||
[[nodiscard]] uint8_t readInputPort(uint8_t port);
|
||||
void writeInputPort(const uint8_t port, const uint8_t value) noexcept { m_input[port] = value; }
|
||||
|
@ -81,7 +81,7 @@ namespace EightBit {
|
||||
|
||||
void setWord(const register16_t address, const register16_t value) {
|
||||
BUS().ADDRESS() = address;
|
||||
return setWord(value);
|
||||
setWord(value);
|
||||
}
|
||||
|
||||
void jump(const register16_t destination) noexcept {
|
||||
|
Loading…
x
Reference in New Issue
Block a user