Add default return for error handling in error_to_string and wait_for_game_started functions

This commit is contained in:
Gabryel-lima 2026-05-28 13:18:38 -03:00
parent 664915284e
commit fe0dc0b425
2 changed files with 4 additions and 0 deletions

View file

@ -1032,4 +1032,6 @@ std::string recomp::mods::error_to_string(CodeModLoadError error) {
case CodeModLoadError::UnsupportedApiVersion:
return "Mod DLL has an unsupported API version";
}
return "Unknown code mod load error";
}

View file

@ -704,6 +704,8 @@ bool wait_for_game_started(uint8_t* rdram, recomp_context* context) {
case GameStatus::None:
return true;
}
return true;
}
recomp::SaveType recomp::get_save_type() {