summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 1ca9b6c..34bc99d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1718,14 +1718,18 @@ int main(int argc, char *argv[])
}
- save_presets(0);
-
make_kernel();
prepare_alpha(CELL, 1.0f);
stamp_init();
- if (!sdl_open()) exit(1);
+ if (!sdl_open())
+ {
+ sdl_scale = 1;
+ kiosk_enable = 0;
+ if (!sdl_open()) exit(1);
+ }
+ save_presets(0);
http_init(http_proxy_string[0] ? http_proxy_string : NULL);
if (cpu_check())