config: replace numeric enable_sync setting with time_sync string
This shouldn't break existing configs. Existing "enable_sync" setings are automatically replaced with an appropriate "time_sync" value. In case "enable_sync" and "time_sync" settings are both present in a configuration file (shouldn't happen without manually editing the config), "time_sync" takes precedence.
This commit is contained in:
2
src/pc.c
2
src/pc.c
@@ -119,7 +119,7 @@ int cpu_manufacturer = 0, /* (C) cpu manufacturer */
|
||||
cpu_use_dynarec = 0, /* (C) cpu uses/needs Dyna */
|
||||
cpu = 3, /* (C) cpu type */
|
||||
enable_external_fpu = 0; /* (C) enable external FPU */
|
||||
int enable_sync = 0; /* (C) enable time sync */
|
||||
int time_sync = 0; /* (C) enable time sync */
|
||||
|
||||
/* Statistics. */
|
||||
extern int
|
||||
|
||||
Reference in New Issue
Block a user