summaryrefslogtreecommitdiff
path: root/src/nes/cpu.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-19 23:40:45 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-19 23:40:45 +0100
commitbaa585fd21f631708de215929241d40f66b58498 (patch)
treec50643222b86829915a597c851b828faf07c4c24 /src/nes/cpu.hh
parent502dc171f45e5acf00c34521328b414d5285f598 (diff)
some ppu fixes
Diffstat (limited to 'src/nes/cpu.hh')
-rw-r--r--src/nes/cpu.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nes/cpu.hh b/src/nes/cpu.hh
index 070a72d..0614f76 100644
--- a/src/nes/cpu.hh
+++ b/src/nes/cpu.hh
@@ -155,7 +155,7 @@ namespace nes
#define DEFINE_OPERAND_INSTRUCTION(name) \
template<addressing_mode Mode> auto run_##name() -> void;
- DEFINE_SIMPLE_INSTRUCTION(brk)
+ DEFINE_OPERAND_INSTRUCTION(brk)
DEFINE_OPERAND_INSTRUCTION(ora)
DEFINE_SIMPLE_INSTRUCTION(stp)
DEFINE_OPERAND_INSTRUCTION(slo)
@@ -258,6 +258,7 @@ namespace nes
auto eval_eor(std::uint8_t arg) -> void;
auto eval_cmp(std::uint8_t a, std::uint8_t b) -> void;
auto eval_plp() -> void;
+ auto eval_php() -> void;
// Operands