takahirox / nes-rust

NES emulator written in Rust + WASM
MIT License
208 stars 24 forks source link

How to save and load checkpoint? #97

Closed ahaoboy closed 2 years ago

ahaoboy commented 3 years ago

I don't find similar api to store and restore game state. This feature can improve user experience when play some games

let checkpoint = nes.save();

nes.load(checkpoint)
mantou132 commented 2 years ago

cache WebAssembly.memory