mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2025-10-30 08:03:03 +00:00
Switch to aggregate initialization for Version to work around missing implicit constructor on some compilers
This commit is contained in:
parent
5ec43a1182
commit
a0bd63f725
2 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ namespace recompui {
|
|||
if (exists) {
|
||||
installation.mod_id = std::string((const char *)(target_path.stem().u8string().c_str()));
|
||||
installation.display_name = installation.mod_id;
|
||||
installation.mod_version = recomp::Version(0, 0, 0);
|
||||
installation.mod_version = recomp::Version{0, 0, 0, ""};
|
||||
installation.mod_file = target_path;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@ ModMenu::~ModMenu() {
|
|||
|
||||
recompui::ModMenu* mod_menu;
|
||||
|
||||
void recompui::update_mod_list() {
|
||||
void update_mod_list() {
|
||||
if (mod_menu) {
|
||||
recompui::ContextId ui_context = recompui::get_config_context_id();
|
||||
bool opened = ui_context.open_if_not_already();
|
||||
|
|
@ -596,7 +596,7 @@ void recompui::update_mod_list() {
|
|||
}
|
||||
}
|
||||
|
||||
void recompui::process_game_started() {
|
||||
void process_game_started() {
|
||||
if (mod_menu) {
|
||||
recompui::ContextId ui_context = recompui::get_config_context_id();
|
||||
bool opened = ui_context.open_if_not_already();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue