mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-04-14 03:37:00 +00:00
Mild refactoring, no functional change...
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
8e4030a5aa
commit
2683999e2c
@ -164,15 +164,13 @@ namespace EightBit {
|
||||
uint8_t AM_AbsoluteX() {
|
||||
if (UNLIKELY(Address_AbsoluteX()))
|
||||
addCycle();
|
||||
BUS().ADDRESS() = MEMPTR();
|
||||
return getByte();
|
||||
return getByte(MEMPTR());
|
||||
}
|
||||
|
||||
uint8_t AM_AbsoluteY() {
|
||||
if (UNLIKELY(Address_AbsoluteY()))
|
||||
addCycle();
|
||||
BUS().ADDRESS() = MEMPTR();
|
||||
return getByte();
|
||||
return getByte(MEMPTR());
|
||||
}
|
||||
|
||||
uint8_t AM_ZeroPageX() {
|
||||
@ -193,8 +191,7 @@ namespace EightBit {
|
||||
uint8_t AM_IndirectIndexedY() {
|
||||
if (UNLIKELY(Address_IndirectIndexedY()))
|
||||
addCycle();
|
||||
BUS().ADDRESS() = MEMPTR();
|
||||
return getByte();
|
||||
return getByte(MEMPTR());
|
||||
}
|
||||
|
||||
#pragma endregion Addressing modes, read
|
||||
|
Loading…
x
Reference in New Issue
Block a user