diff options
Diffstat (limited to 'lib/nes/sys/nes.cc')
| -rw-r--r-- | lib/nes/sys/nes.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/nes/sys/nes.cc b/lib/nes/sys/nes.cc index 5cc47a4..ca12190 100644 --- a/lib/nes/sys/nes.cc +++ b/lib/nes/sys/nes.cc @@ -1,5 +1,4 @@ #include "nes/sys/nes.hh" -#include "nes/sys/types/snapshot.hh" namespace nes::sys { @@ -12,11 +11,6 @@ namespace nes::sys { } - auto nes::step(std::chrono::microseconds const delta) -> void - { - step(cycle_count::from_duration(delta)); - } - auto nes::step() -> void { if (get_status() != status::success) { return; } @@ -49,6 +43,7 @@ namespace nes::sys } } +#ifdef NES_ENABLE_SNAPSHOTS auto nes::get_snapshot() -> snapshot { auto res = snapshot{}; @@ -57,4 +52,5 @@ namespace nes::sys ppu_.build_snapshot(res); return res; } +#endif } // namespace nes::sys
\ No newline at end of file |
