mirror of
https://github.com/FrancescoRigoni/Lib65816.git
synced 2024-12-30 02:29:19 +00:00
Minor cleanup
This commit is contained in:
parent
1a5385b2ee
commit
5db1b70a0e
@ -35,8 +35,7 @@ Address Address::sumOffsetToAddressNoWrapAround(const Address &address, uint16_t
|
||||
}
|
||||
|
||||
Address Address::sumOffsetToAddressWrapAround(const Address &address, uint16_t offset) {
|
||||
Address newAddress(address.getBank(), address.getOffset() + offset);
|
||||
return newAddress;
|
||||
return Address(address.getBank(), address.getOffset() + offset);
|
||||
}
|
||||
|
||||
Address Address::sumOffsetToAddress(const Address &address, uint16_t offset) {
|
||||
|
Loading…
Reference in New Issue
Block a user