plastic
plastic copied to clipboard
NES emulator in rust
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.4.0 to 3.12.0. Changelog Sourced from bumpalo's changelog. 3.12.0 Released 2023-01-17. Added Added the bumpalo::boxed::Box::bump and bumpalo::collections::String::bump getters to get the underlying Bump that a string or...
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.5.1 to 1.8.0. Release notes Sourced from smallvec's releases. v1.8.0 Add optional support for the arbitrary crate (#275). v1.7.0 new_const and from_const constructors for creating a SmallVec...
The current implementation of audio is not correct, in some games we hear some glitches, which seem to be due to emulation error. Also it would be nice to support...
There is documentation but i think more is better, so i will most likely write a big doc folder which contains more information
Currently, the emulation is done like this: - clock APU (audio) - clock CPU: - if its time to execute instruction, execute it and store how many cycles we should...
Error handling with unwrap isnt a great idea if an error accours the programm will panic instead of ending the error gracefully. Recommending using ? for error handling.
The fs::create_dir_all(&base_saved_states_dir).ok()?; silently ignores errors when creating directories. If there is an issue with permissions or file system access, it will fail without notifying the user. Use proper error handling...
The ImageView::draw method uses a nested loop that calls painter.get_point and painter.paint for each pixel. This could be inefficient for larger images, affecting performance. Consider buffering the image or optimizing...
The code doesn't handle the case where the save state directory or files might be deleted or corrupted between get_present_save_states and file operations. If a file disappears between these calls,...
The file explorer does not provide feedback if it fails to open a .nes file due to errors like invalid formats or missing files Add error handling and user feedback...