mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 16:30:44 +00:00
Handle "idlewait" option.
This commit is contained in:
parent
31a754b2e6
commit
b1900fbd06
@ -37,6 +37,7 @@ prefs_desc platform_prefs_items[] = {
|
|||||||
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
||||||
{"ignoresegv", TYPE_BOOLEAN, false, "ignore illegal memory accesses"},
|
{"ignoresegv", TYPE_BOOLEAN, false, "ignore illegal memory accesses"},
|
||||||
#endif
|
#endif
|
||||||
|
{"idlewait", TYPE_BOOLEAN, false, "sleep when idle"},
|
||||||
{NULL, TYPE_END, false, NULL} // End of list
|
{NULL, TYPE_END, false, NULL} // End of list
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -133,4 +134,5 @@ void AddPlatformPrefsDefaults(void)
|
|||||||
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
||||||
PrefsAddBool("ignoresegv", false);
|
PrefsAddBool("ignoresegv", false);
|
||||||
#endif
|
#endif
|
||||||
|
PrefsAddBool("idlewait", true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user