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:
Adrian Conlon 2019-02-03 00:46:49 +00:00
parent f0376fa81e
commit 382ae30d32
2 changed files with 2 additions and 2 deletions

View File

@ -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; }

View File

@ -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 {