summaryrefslogtreecommitdiff
path: root/src/nes/cpu.hh
diff options
context:
space:
mode:
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