mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-08 22:06:20 +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…
Reference in New Issue
Block a user