missing changes from previous commit

This commit is contained in:
Flyinghead 2021-08-23 14:16:52 +02:00
parent e3e3229612
commit 5db2856270
2 changed files with 6 additions and 2 deletions

View File

@ -419,8 +419,11 @@ void gui_open_settings()
}
}
static void gui_start_game(const std::string& path)
void gui_start_game(const std::string& path)
{
dc_term_game();
reset_vmus();
scanner.stop();
gui_state = GuiState::Loading;
static std::string path_copy;
@ -1144,7 +1147,7 @@ static void gui_display_settings()
}
ImGui::SameLine();
ShowHelpMarker("The directory containing BIOS files, as well as saved VMUs and states");
#else
#elseif !defined(TARGET_IPHONE)
if (ImGui::ListBoxHeader("Home Directory", 1))
{
ImGui::AlignTextToFramePadding();

View File

@ -37,6 +37,7 @@ void gui_set_mouse_button(int button, bool pressed);
void gui_set_mouse_wheel(float delta);
void gui_set_insets(int left, int right, int top, int bottom);
void gui_stop_game(const std::string& message = "");
void gui_start_game(const std::string& path);
extern int screen_dpi;
extern float scaling;