mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
Enable autopause by default
...and disable live reload, which depends on autopause to work.
This commit is contained in:
parent
ef22a0931f
commit
c235d53f1d
1 changed files with 2 additions and 2 deletions
|
@ -123,11 +123,11 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
if (game->config.width < 100) { game->config.width = 100; }
|
||||
game->config.height = strtol(GetConfigOptionDefault(game, "SuperDerpy", "height", GetDefaultWindowHeight(game)), NULL, 10);
|
||||
if (game->config.height < 100) { game->config.height = 100; }
|
||||
game->config.autopause = strtol(GetConfigOptionDefault(game, "SuperDerpy", "autopause", IS_EMSCRIPTEN ? "1" : "0"), NULL, 10);
|
||||
game->config.autopause = strtol(GetConfigOptionDefault(game, "SuperDerpy", "autopause", "1"), NULL, 10);
|
||||
|
||||
game->config.debug.enabled = strtol(GetConfigOptionDefault(game, "SuperDerpy", "debug", "0"), NULL, 10);
|
||||
game->config.debug.verbose = strtol(GetConfigOptionDefault(game, "debug", "verbose", "0"), NULL, 10);
|
||||
game->config.debug.livereload = strtol(GetConfigOptionDefault(game, "debug", "livereload", "1"), NULL, 10);
|
||||
game->config.debug.livereload = strtol(GetConfigOptionDefault(game, "debug", "livereload", "0"), NULL, 10);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
game->config.fullscreen = false; // we can't start fullscreen on emscripten
|
||||
|
|
Loading…
Reference in a new issue