From e5f57ea7437724d6e6f996a134b3ab8c77040e5a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 17 Oct 2020 22:27:04 -0400 Subject: [PATCH] Make `isReadOperation` more overt. --- Processors/6502Esque/6502Esque.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/6502Esque/6502Esque.hpp b/Processors/6502Esque/6502Esque.hpp index 900ac8c6a..3ef3ba16f 100644 --- a/Processors/6502Esque/6502Esque.hpp +++ b/Processors/6502Esque/6502Esque.hpp @@ -101,7 +101,7 @@ enum BusOperation { /*! For a machine watching only the RWB line, evaluates to @c true if the operation should be treated as a read; @c false otherwise. */ -#define isReadOperation(v) (v < CPU::MOS6502Esque::Write) +#define isReadOperation(v) (v <= CPU::MOS6502Esque::InternalOperationRead) /*! For a machine watching only the RWB line, evaluates to @c true if the operation is any sort of write; @c false otherwise.