summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");