High-level Rust bindings to the Mupen64Plus Core API.
```rs use mupen64plus::{Core, Plugin};
let core = Core::loadfromdirectory(&path) .orelse(|| Core::loadfromsystem())?;
let mut mupen = core.start(Some(&path), Some(&path))?;
mupen.openrom(&mut loadrom()?)?;
for name in &["video-glide64mk2", "audio-sdl", "input-sdl", "rsp-hle"] { let p = format!("mupen64plus-{}.{}", name, std::env::consts::DLLEXTENSION); mupen.attachplugin(Plugin::loadfrompath(p)?)?; }
mupen.execute()?; ```
A more detailed example can be found here, which can be run with:
bash
cargo run --example frontend