From f0d807a0fe5c849bbafd6ccb5909cd34d1484fac Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 21 Sep 2024 20:49:59 -0400 Subject: [PATCH] Fix `[d], y` page-wrapping behaviour. --- Processors/65816/Implementation/65816Storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/65816/Implementation/65816Storage.cpp b/Processors/65816/Implementation/65816Storage.cpp index fd89b8551..d539fe0b4 100644 --- a/Processors/65816/Implementation/65816Storage.cpp +++ b/Processors/65816/Implementation/65816Storage.cpp @@ -493,7 +493,7 @@ struct CPU::WDC65816::ProcessorStorageConstructor { static void direct_indirect_indexed_long(AccessType type, bool is8bit, const std::function &target) { target(CycleFetchIncrementPC); // DO. - target(OperationConstructDirect); + target(OperationConstructDirectLong); target(CycleFetchPreviousPCThrowaway); // IO. target(CycleFetchIncrementData); // AAL.