From 4a756910055837924d4fe606ea3963d21a61bfc7 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 13 Jun 2022 10:27:22 -0400 Subject: [PATCH] Avoid double conditional for CalcEffectiveAddressIdleFor8bitDisplacementAndPreDec. --- .../Implementation/68000Mk2Implementation.hpp | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp index d87e7f656..62ced29af 100644 --- a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp +++ b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp @@ -81,7 +81,7 @@ enum ExecutionState: int { /// -(An) n /// (d8, An, Xn) n np n /// (d8, PC, Xn) n np n - CalcEffectiveAddressIdleFor8bitDisplacementAndPreDec, + AddressingDispatch(CalcEffectiveAddressIdleFor8bitDisplacementAndPreDec), // Various forms of perform; each of these will // perform the current instruction, then do the @@ -1073,16 +1073,8 @@ void Processor