nvr: add support for UTC time sync

This commit is contained in:
David Hrdlička
2018-08-01 17:52:20 +02:00
parent 3a05287b45
commit a4f6bfde58
6 changed files with 16 additions and 8 deletions

View File

@@ -202,7 +202,7 @@ win_settings_init(void)
temp_dynarec = cpu_use_dynarec;
#endif
temp_fpu = enable_external_fpu;
temp_sync = enable_sync;
temp_sync = enable_sync & TIME_SYNC_ENABLED;
/* Video category */
temp_gfxcard = gfxcard;
@@ -305,7 +305,7 @@ win_settings_changed(void)
i = i || (temp_dynarec != cpu_use_dynarec);
#endif
i = i || (temp_fpu != enable_external_fpu);
i = i || (temp_sync != enable_sync);
i = i || (temp_sync != (enable_sync & TIME_SYNC_ENABLED));
/* Video category */
i = i || (gfxcard != temp_gfxcard);