comparison render_sdl.c @ 1659:19331a21da3a

Switched default sync source back to audio as the video option is not ready for prime timeop
author Mike Pavone <pavone@retrodev.com>
date Sun, 30 Dec 2018 21:19:26 -0800
parents fa9ae059e4d3
children b1d063466d03
comparison
equal deleted inserted replaced
1658:fa9ae059e4d3 1659:19331a21da3a
1046 uint32_t flags = SDL_WINDOW_RESIZABLE; 1046 uint32_t flags = SDL_WINDOW_RESIZABLE;
1047 if (is_fullscreen) { 1047 if (is_fullscreen) {
1048 flags |= SDL_WINDOW_FULLSCREEN_DESKTOP; 1048 flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
1049 } 1049 }
1050 1050
1051 tern_val def = {.ptrval = "video"}; 1051 tern_val def = {.ptrval = "audio"};
1052 char *sync_src = tern_find_path_default(config, "system\0sync_source\0", def, TVAL_PTR).ptrval; 1052 char *sync_src = tern_find_path_default(config, "system\0sync_source\0", def, TVAL_PTR).ptrval;
1053 sync_to_audio = !strcmp(sync_src, "audio"); 1053 sync_to_audio = !strcmp(sync_src, "audio");
1054 1054
1055 const char *vsync; 1055 const char *vsync;
1056 if (sync_to_audio) { 1056 if (sync_to_audio) {