Skip to content

Commit

Permalink
Merge branch 'feat/more-state' into 'master'
Browse files Browse the repository at this point in the history
More state support in BOS save state format

See merge request joamag/boytacean!63
  • Loading branch information
joamag committed Oct 24, 2024
2 parents 797b242 + 97780f3 commit 689baa3
Show file tree
Hide file tree
Showing 10 changed files with 1,168 additions and 297 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

*
* State management support for: `pad`, `ppu` and `cpu`

### Changed

*
* Structure of the BOS save file format, breaking change!

### Fixed

*
* Major bug related to OAM masking

## [0.10.14] - 2024-10-21

Expand Down
3 changes: 3 additions & 0 deletions crates/common/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub enum Error {
NotImplemented,
MissingOption(String),
IoError(String),
DataError(String),
InvalidParameter(String),
CustomError(String),
}
Expand All @@ -38,6 +39,7 @@ impl Error {
Error::NotImplemented => String::from("Not implemented"),
Error::MissingOption(option) => format!("Missing option: {option}"),
Error::IoError(message) => format!("IO error: {message}"),
Error::DataError(message) => format!("Data error: {message}"),
Error::InvalidParameter(message) => format!("Invalid parameter: {message}"),
Error::CustomError(message) => String::from(message),
}
Expand All @@ -54,6 +56,7 @@ impl error::Error for Error {
Error::NotImplemented => "Not implemented",
Error::MissingOption(_) => "Missing option",
Error::IoError(_) => "IO error",
Error::DataError(_) => "Data error",
Error::InvalidParameter(_) => "Invalid parameter",
Error::CustomError(_) => "Custom error",
}
Expand Down
Loading

0 comments on commit 689baa3

Please sign in to comment.