diff --git a/inc/Processor.h b/inc/Processor.h index 450d314..718ea42 100644 --- a/inc/Processor.h +++ b/inc/Processor.h @@ -88,7 +88,7 @@ namespace EightBit { void getShortPaged(register16_t address) noexcept; void getShortPaged(uint8_t page, uint8_t offset) noexcept; - void getPagedInto(uint8_t page, uint8_t offset, register16_t& into); + void getPagedInto(uint8_t page, uint8_t offset, register16_t& into) noexcept; void getShortPaged() noexcept { getPagedInto(m_intermediate); } virtual void getPagedInto(register16_t& into) noexcept = 0; void setPaged(register16_t address, register16_t value) noexcept; diff --git a/src/Processor.cpp b/src/Processor.cpp index 64d21da..5728a1c 100644 --- a/src/Processor.cpp +++ b/src/Processor.cpp @@ -72,7 +72,7 @@ void EightBit::Processor::getShortPaged(const uint8_t page, const uint8_t offset getShortPaged(); } -void EightBit::Processor::getPagedInto(uint8_t page, uint8_t offset, register16_t& into) { +void EightBit::Processor::getPagedInto(uint8_t page, uint8_t offset, register16_t& into) noexcept { BUS().ADDRESS() = { offset, page }; getPagedInto(into); }