merge in "pollmedia" prefs item

This commit is contained in:
gbeauche 2004-12-05 15:05:25 +00:00
parent 892a50a233
commit af8e95642e

View File

@ -44,6 +44,8 @@ prefs_desc platform_prefs_items[] = {
{"enableextfs", TYPE_BOOLEAN, false, "enable extfs system"}, {"enableextfs", TYPE_BOOLEAN, false, "enable extfs system"},
{"debugextfs", TYPE_BOOLEAN, false, "debug extfs system"}, {"debugextfs", TYPE_BOOLEAN, false, "debug extfs system"},
{"extdrives", TYPE_STRING, false, "define allowed extfs drives"}, {"extdrives", TYPE_STRING, false, "define allowed extfs drives"},
{"pollmedia", TYPE_BOOLEAN, false, "poll for new media (e.g. cd, floppy)"},
{NULL, TYPE_END, false, NULL} // End of list {NULL, TYPE_END, false, NULL} // End of list
}; };
@ -109,6 +111,7 @@ void SavePrefs(void)
void AddPlatformPrefsDefaults(void) void AddPlatformPrefsDefaults(void)
{ {
PrefsAddBool("keycodes", false); PrefsAddBool("keycodes", false);
PrefsReplaceBool("pollmedia", true);
PrefsReplaceBool("enableextfs", false); PrefsReplaceBool("enableextfs", false);
PrefsReplaceString("extfs", ""); PrefsReplaceString("extfs", "");
PrefsReplaceString("extdrives", "CDEFGHIJKLMNOPQRSTUVWXYZ"); PrefsReplaceString("extdrives", "CDEFGHIJKLMNOPQRSTUVWXYZ");