mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-04 22:46:46 +00:00
(Playbook) Autostart with default overlay if nothing is there in config file
+ put overlays as assets inside BAR file
This commit is contained in:
parent
e0cca6e7a8
commit
8754afe691
@ -74,6 +74,11 @@
|
||||
<nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>overlays</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-2-PROJECT_LOC/media/overlays</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>src/griffin.c</name>
|
||||
<type>1</type>
|
||||
|
@ -34,6 +34,12 @@ int rarch_main(int argc, char *argv[])
|
||||
|
||||
config_load();
|
||||
|
||||
if (g_settings.input.overlay[0] == '\0')
|
||||
{
|
||||
RARCH_LOG("Setting default overlay %s ...\n", "app/native/overlays/snes-landscape.cfg");
|
||||
strlcpy(g_settings.input.overlay, "app/native/overlays/snes-landscape.cfg", sizeof(g_settings.input.overlay));
|
||||
}
|
||||
|
||||
g_extern.verbose = true;
|
||||
|
||||
menu_init();
|
||||
|
Loading…
Reference in New Issue
Block a user