shithub: m8c

Download patch

ref: ce3f4db79fd038ca1030a04aae5a3a881d16ca37
parent: 5dbcb815170c086a36969ea5b1ca7f427090d826
author: laamaa <jonne.kokkonen@gmail.com>
date: Sun May 25 17:47:09 EDT 2025

on ios use fullscreen by default

--- a/src/main.c
+++ b/src/main.c
@@ -93,10 +93,13 @@
 
   config_params_s conf = config_initialize(*config_filename);
 
-  if (TARGET_OS_IOS == 0) {
-    // It's not possible to edit the config on iOS, so let's go with the defaults
+  if (TARGET_OS_IOS == 1) {
+    // Predefined settings for iOS
+    conf.init_fullscreen=1;
+  } else {
+    // On other platforms, read config normally
     config_read(&conf);
-  } 
+  }
   return conf;
 }
 
--