Choose automatically first rom.
This commit is contained in:
parent
d88a120665
commit
7d5d2db6e3
1 changed files with 8 additions and 0 deletions
|
@ -1890,7 +1890,15 @@ void default_prefs (struct uae_prefs *p, int type)
|
||||||
strcpy (p->df[2], "df2.adf");
|
strcpy (p->df[2], "df2.adf");
|
||||||
strcpy (p->df[3], "df3.adf");
|
strcpy (p->df[3], "df3.adf");
|
||||||
|
|
||||||
|
#ifdef RASPBERRY
|
||||||
|
// Choose automatically first rom.
|
||||||
|
if (lstAvailableROMs.size() >= 1)
|
||||||
|
strncpy(currprefs.romfile,lstAvailableROMs[0]->Path,255);
|
||||||
|
else
|
||||||
|
strcpy (p->romfile, "kick.rom");
|
||||||
|
#else
|
||||||
strcpy (p->romfile, "kick.rom");
|
strcpy (p->romfile, "kick.rom");
|
||||||
|
#endif
|
||||||
strcpy (p->romextfile, "");
|
strcpy (p->romextfile, "");
|
||||||
|
|
||||||
sprintf (p->path_rom, "%s/kickstarts/", start_path_data);
|
sprintf (p->path_rom, "%s/kickstarts/", start_path_data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue