Skip to content

Commit

Permalink
fix a splash screen display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvita committed Aug 16, 2020
1 parent e68410f commit db9d721
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Binary file modified icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 1 addition & 6 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,12 @@ int main(int argc, char **argv)
Gui::g_splashDisplayed = true;
Gui::g_nextGui = GUI_CHEATS;
}
else
Gui::g_nextGui = GUI_MAIN;

#if SPLASH_ENABLED

if (!Gui::g_splashDisplayed)
{
static Gui *currGui = nullptr;
currGui = new GuiMain();
currGui->draw();
}
#endif

initTitles();

Expand Down

0 comments on commit db9d721

Please sign in to comment.