Remove nodiscard instance where we're using the method for cycle/memory accuracy.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-01-06 11:10:05 +00:00
parent 3337f57747
commit 5b9c348ff1

View File

@ -58,7 +58,7 @@ namespace EightBit {
uint8_t busRead(register16_t address);
virtual uint8_t busRead();
[[nodiscard]] auto getBytePaged(const uint8_t page, const uint8_t offset) {
auto getBytePaged(const uint8_t page, const uint8_t offset) {
return busRead(register16_t(offset, page));
}
@ -66,7 +66,7 @@ namespace EightBit {
busWrite(register16_t(offset, page), value);
}
[[nodiscard]] auto fetchByte() {
auto fetchByte() {
return busRead(PC()++);
}