1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Ensure to restart the game with the right params with legacy mode

This commit is contained in:
Mathieu Schroeter 2018-06-30 15:41:28 +02:00
parent 7d2b26c78f
commit 652e6b81e3

View File

@ -1097,7 +1097,13 @@ main (int argc, char * argv[])
_argv.push_back (argv[0]);
if (g_restart == RestartMode::LEGACY)
{
_argv.push_back ("--legacy");
_argv.push_back ("--fullscreen");
_argv.push_back ("on");
_argv.push_back ("--zoom");
_argv.push_back ("2");
}
_argv.push_back (nullptr);
execv (argv[0], const_cast<char **> (&_argv[0]));