From ec06308de5e66d9fb50a65f2ee6b77fffd5163bb Mon Sep 17 00:00:00 2001 From: "Victor B." Date: Fri, 3 May 2024 11:29:32 +0200 Subject: [PATCH] spacing --- src/opcodes/load.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opcodes/load.cpp b/src/opcodes/load.cpp index a3efff2..51c52e8 100644 --- a/src/opcodes/load.cpp +++ b/src/opcodes/load.cpp @@ -20,9 +20,11 @@ OPCODE(ldy) { cpu->y = cpu->fetchByteWithMode(mode); cpu->evaluateFlags(cpu->y); } + OPCODE(sax) { // Undocumented. cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->a & cpu->x); } + OPCODE(sta) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->a); } OPCODE(stx) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->x); } OPCODE(sty) { cpu->bus->write(cpu->fetchEffectiveModeValue(mode), cpu->y); }