summaryrefslogtreecommitdiff
path: root/cpu_opcodes.c
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-04-06 12:27:12 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-04-06 12:27:12 +0200
commit39715ca6bf65d2e2dd889cdef4b39d584464d9e7 (patch)
tree39390f6fadd0ddbe913ae66e11847b8b3e7b16bb /cpu_opcodes.c
parentdabd7a5848e6aa55e91cf4c804f6236b4f7fe30e (diff)
added more mappers (buggy)
Diffstat (limited to 'cpu_opcodes.c')
-rw-r--r--cpu_opcodes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu_opcodes.c b/cpu_opcodes.c
index 5fd5634..b879015 100644
--- a/cpu_opcodes.c
+++ b/cpu_opcodes.c
@@ -583,7 +583,6 @@ static void opcode_sei(struct nes_state * restrict state) {
// CMP
-
static inline void cmp(struct cpu_state * restrict cpu, uint8_t value) {
uint8_t result = cpu->a - value;
cpu->c = (cpu->a >= value);