mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-06-26 01:42:56 +00:00
Add default return for error handling in error_to_string and wait_for_game_started functions
This commit is contained in:
parent
664915284e
commit
fe0dc0b425
2 changed files with 4 additions and 0 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue