Whoops: missed UNLIKELY specifier on the 6502 processor

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-08-25 13:17:14 +01:00
parent ae66b39dac
commit 535346dede

View File

@ -53,7 +53,7 @@ int EightBit::MOS6502::step() {
if (UNLIKELY(lowered(SO()))) {
handleSO();
}
if (lowered(RESET())) {
if (UNLIKELY(lowered(RESET()))) {
handleRESET();
} else if (UNLIKELY(lowered(NMI()))) {
handleNMI();