(Playbook) Autostart with default overlay if nothing is there in config file

+ put overlays as assets inside BAR file
This commit is contained in:
twinaphex 2013-05-11 01:48:03 +02:00
parent e0cca6e7a8
commit 8754afe691
2 changed files with 11 additions and 0 deletions

View File

@ -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>

View File

@ -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();