mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-22 13:30:07 +00:00
Add sdl_vsync to pref items
This commit is contained in:
parent
5d1bfd1059
commit
ac68d68920
@ -51,6 +51,7 @@ prefs_desc platform_prefs_items[] = {
|
||||
{"portfile1", TYPE_STRING, false, "output file for serial port 1"},
|
||||
#ifdef USE_SDL_VIDEO
|
||||
{"sdlrender", TYPE_STRING, false, "SDL_Renderer driver (\"auto\", \"software\" (may be faster), etc.)"},
|
||||
{"sdl_vsync", TYPE_BOOLEAN, false, "Make SDL_Renderer vertical sync frames to host (eg. with software renderer)"},
|
||||
#endif
|
||||
|
||||
{NULL, TYPE_END, false, NULL} // End of list
|
||||
@ -131,4 +132,8 @@ void AddPlatformPrefsDefaults(void)
|
||||
PrefsReplaceString("serialb", "COM2");
|
||||
PrefsReplaceString("portfile0", "C:\\B2TEMP0.OUT");
|
||||
PrefsReplaceString("portfile1", "C:\\B2TEMP1.OUT");
|
||||
#ifdef USE_SDL_VIDEO
|
||||
PrefsReplaceString("sdlrender", "software");
|
||||
PrefsReplaceBool("sdl_vsync", false);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user