summaryrefslogtreecommitdiff
path: root/src/nes/mapper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nes/mapper.hh')
-rw-r--r--src/nes/mapper.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nes/mapper.hh b/src/nes/mapper.hh
index f2873a6..12ad804 100644
--- a/src/nes/mapper.hh
+++ b/src/nes/mapper.hh
@@ -1,6 +1,7 @@
#pragma once
#include "nes/util/address.hh"
+#include "status.hh"
namespace nes
{
@@ -27,6 +28,8 @@ namespace nes
auto operator=(mapper const&) -> mapper& = delete;
auto operator=(mapper&&) -> mapper& = delete;
+ auto snapshot(test::status&) const -> void;
+
auto read_cpu(address const addr) -> std::uint8_t
{
return (this->*read_cpu_)(addr);