If filename specified on command line, jump directly to it. Retab NativeApp.cpp.

This commit is contained in:
Henrik Rydgård 2012-11-04 10:56:22 +01:00
parent a54dcbedc1
commit 581872f2d0

View File

@ -205,7 +205,12 @@ void NativeInitGraphics()
gl_lost_manager_init();
ui_draw2d.SetAtlas(&ui_atlas);
if (boot_filename.empty()) {
screenManager.switchScreen(new LogoScreen(boot_filename));
} else {
// Go directly into the game.
screenManager.switchScreen(new EmuScreen(boot_filename));
}
// screenManager.switchScreen(new FileSelectScreen());
UIShader_Init();