mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-08 22:06:20 +00:00
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:
parent
3337f57747
commit
5b9c348ff1
@ -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()++);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user