fixed opcode table

This commit is contained in:
Lauchmelder 2021-10-23 15:55:54 +02:00
parent 92d92a80c6
commit cb890b0960
3 changed files with 5 additions and 5 deletions

View file

@ -403,7 +403,7 @@ void execute(struct CPU* cpu)
cpu->x--;
cpu->status.negative = ((cpu->x & 0x80) == 0x80);
cpu->status.zero = (cpu->x == 0x80);
cpu->status.zero = (cpu->x == 0x00);
} break;
case DEY: