summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2018-12-30 21:19:26 -0800
committerMike Pavone <pavone@retrodev.com>2018-12-30 21:19:26 -0800
commit9ada0716b82722c83d463d87ce9a5dacff349262 (patch)
tree660ea2caaedac14fdcfeff2f5b3c80c9545e5530
parentbef22a39e5abd914eb0fa08b994186a588ee94ce (diff)
Switched default sync source back to audio as the video option is not ready for prime timeop
-rw-r--r--default.cfg2
-rwxr-xr-xrender_sdl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/default.cfg b/default.cfg
index 9236732..e976e76 100644
--- a/default.cfg
+++ b/default.cfg
@@ -204,7 +204,7 @@ system {
#controls how the emulated system is synced to the host
#video provides the smoothest experience when the host and emulated system have similar refresh rates
#audio provides lower audio latency, especially when there is a refresh rate mismatch
- sync_source video
+ sync_source audio
#set this to random to debug initialization bugs
ram_init zero
default_region U
diff --git a/render_sdl.c b/render_sdl.c
index 19717b0..4a2d0c7 100755
--- a/render_sdl.c
+++ b/render_sdl.c
@@ -1048,7 +1048,7 @@ void window_setup(void)
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
}
- tern_val def = {.ptrval = "video"};
+ tern_val def = {.ptrval = "audio"};
char *sync_src = tern_find_path_default(config, "system\0sync_source\0", def, TVAL_PTR).ptrval;
sync_to_audio = !strcmp(sync_src, "audio");