more extfs related prefs items (debugextfs, extdrives)

This commit is contained in:
gbeauche 2004-12-03 22:59:39 +00:00
parent 2e9253743d
commit 67399201bb

View File

@ -42,6 +42,8 @@ prefs_desc platform_prefs_items[] = {
{"ignoresegv", TYPE_BOOLEAN, false, "ignore illegal memory accesses"}, {"ignoresegv", TYPE_BOOLEAN, false, "ignore illegal memory accesses"},
#endif #endif
{"enableextfs", TYPE_BOOLEAN, false, "enable extfs system"}, {"enableextfs", TYPE_BOOLEAN, false, "enable extfs system"},
{"debugextfs", TYPE_BOOLEAN, false, "debug extfs system"},
{"extdrives", TYPE_STRING, false, "define allowed extfs drives"},
{NULL, TYPE_END, false, NULL} // End of list {NULL, TYPE_END, false, NULL} // End of list
}; };
@ -107,11 +109,12 @@ void SavePrefs(void)
void AddPlatformPrefsDefaults(void) void AddPlatformPrefsDefaults(void)
{ {
PrefsAddBool("keycodes", false); PrefsAddBool("keycodes", false);
PrefsReplaceBool("enableextfs", false);
PrefsReplaceString("extfs", ""); PrefsReplaceString("extfs", "");
PrefsReplaceString("extdrives", "CDEFGHIJKLMNOPQRSTUVWXYZ");
PrefsReplaceInt32("mousewheelmode", 1); PrefsReplaceInt32("mousewheelmode", 1);
PrefsReplaceInt32("mousewheellines", 3); PrefsReplaceInt32("mousewheellines", 3);
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION #ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
PrefsAddBool("ignoresegv", false); PrefsAddBool("ignoresegv", false);
#endif #endif
PrefsReplaceBool("enableextfs", false);
} }