1
0
mirror of https://github.com/MoleskiCoder/EightBit.git synced 2025-03-22 19:29:48 +00:00

Whoops: correct return values of 6809 branch helpers.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-08-23 09:32:37 +01:00
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