From e555fe335f0cac753c29a78de115554248c41c5d Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Thu, 23 Aug 2018 09:32:37 +0100 Subject: [PATCH] Whoops: correct return values of 6809 branch helpers. Signed-off-by: Adrian Conlon --- MC6809/inc/mc6809.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC6809/inc/mc6809.h b/MC6809/inc/mc6809.h index 0e18e22..149f86a 100644 --- a/MC6809/inc/mc6809.h +++ b/MC6809/inc/mc6809.h @@ -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