mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 20:32:29 +00:00
more extfs related prefs items (debugextfs, extdrives)
This commit is contained in:
parent
2e9253743d
commit
67399201bb
@ -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);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user