mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-10 10:29:43 +00:00
Whoops: correct return values of 6809 branch helpers.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
6af8641b45
commit
e555fe335f
@ -247,11 +247,11 @@ namespace EightBit {
|
||||
}
|
||||
|
||||
bool branchShort(int condition) {
|
||||
branch(Address_relative_byte(), condition);
|
||||
return branch(Address_relative_byte(), condition);
|
||||
}
|
||||
|
||||
bool branchLong(int condition) {
|
||||
branch(Address_relative_word(), condition);
|
||||
return branch(Address_relative_word(), condition);
|
||||
}
|
||||
|
||||
// Instruction implementations
|
||||
|
Loading…
x
Reference in New Issue
Block a user