Skip to content

Commit

Permalink
Adapt to latest nx
Browse files Browse the repository at this point in the history
  • Loading branch information
XorTroll committed Aug 19, 2023
1 parent 506e141 commit b6fa7cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion emuiibo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion emuiibo/src/miiext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const DEFAULT_MII_NAME: &'static str = "emuiibo";

#[inline]
pub fn generate_random_mii() -> Result<mii::CharInfo> {
let mut char_info = get_database_service()?.get().build_random(sf::EnumAsPrimitiveType::from(mii::Age::All), sf::EnumAsPrimitiveType::from(mii::Gender::All), sf::EnumAsPrimitiveType::from(mii::Race::All))?;
let mut char_info = get_database_service()?.get().build_random(sf::EnumAsPrimitiveType::from(mii::Age::All), sf::EnumAsPrimitiveType::from(mii::Gender::All), sf::EnumAsPrimitiveType::from(mii::FaceColor::All))?;
// Default name is "no name", use our own default instead
char_info.name.set_str(DEFAULT_MII_NAME)?;
Ok(char_info)
Expand Down

0 comments on commit b6fa7cb

Please sign in to comment.