TetaNES is an emulator for the Nintendo Entertainment System (NES) written in Rust and WebAssembly. The desktop version is much more performant and fully featured, written using SDL2.
You can choose from a list of homebrew games, or load your own ROM which uses the iNES or NES 2.0 format.
You can check out the code on github.
Controls
| Action | Key |
|---|---|
| A Button | Z |
| B Button | X |
| A Button (Turbo) | A |
| B Button (Turbo) | S |
| Start Button | Return |
| Select Button | Right Shift |
| D-Pad | Arrow Keys |