rynorris / nes

NES emulator written in Rust
MIT License
11 stars 0 forks source link

Save States #52

Closed rynorris closed 5 years ago

rynorris commented 5 years ago

Fixes #28

Basic implementation of save states. Press O to save, P to restore.

codecov[bot] commented 5 years ago

Codecov Report

Merging #52 into master will increase coverage by 0.53%. The diff coverage is 72.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   91.01%   91.55%   +0.53%     
==========================================
  Files          50       53       +3     
  Lines        2939     3717     +778     
==========================================
+ Hits         2675     3403     +728     
- Misses        264      314      +50
Impacted Files Coverage Δ
src/emulator/io/event.rs 80.95% <ø> (+5.95%) :arrow_up:
src/emulator/ppu/test/mod.rs 90.9% <ø> (+2.02%) :arrow_up:
src/emulator/state.rs 0% <0%> (ø)
src/emulator/ppu/mod.rs 97.68% <0%> (-0.15%) :arrow_down:
src/emulator/controller.rs 78.78% <100%> (+5.1%) :arrow_up:
src/emulator/components/latch.rs 100% <100%> (ø) :arrow_up:
src/emulator/io/mod.rs 100% <100%> (ø) :arrow_up:
src/emulator/cpu/test/mod.rs 87.5% <100%> (ø) :arrow_up:
src/emulator/test/mod.rs 92.68% <100%> (+6.14%) :arrow_up:
src/emulator/ppu/state.rs 100% <100%> (ø)
... and 37 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 577aaf3...fd8def1. Read the comment docs.