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

View File

@ -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