fix slow motion
This commit is contained in:
parent
b1911495ad
commit
69c2040e55
|
@ -2718,7 +2718,9 @@ static bool config_load_file(const char *path, bool set_defaults,
|
||||||
*settings->paths.directory_system = '\0';
|
*settings->paths.directory_system = '\0';
|
||||||
|
|
||||||
if (settings->floats.slowmotion_ratio < 1.0f)
|
if (settings->floats.slowmotion_ratio < 1.0f)
|
||||||
configuration_set_float(settings, settings->floats.slowmotion_ratio, 1.0f);
|
{
|
||||||
|
configuration_set_float(settings, settings->floats.slowmotion_ratio, 15.0f);
|
||||||
|
}
|
||||||
|
|
||||||
/* Sanitize fastforward_ratio value - previously range was -1
|
/* Sanitize fastforward_ratio value - previously range was -1
|
||||||
* and up (with 0 being skipped) */
|
* and up (with 0 being skipped) */
|
||||||
|
@ -2727,6 +2729,7 @@ static bool config_load_file(const char *path, bool set_defaults,
|
||||||
configuration_set_float(settings, settings->floats.fastforward_ratio, 0.0f);
|
configuration_set_float(settings, settings->floats.fastforward_ratio, 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LAKKA
|
#ifdef HAVE_LAKKA
|
||||||
settings->bools.ssh_enable = path_file_exists(LAKKA_SSH_PATH);
|
settings->bools.ssh_enable = path_file_exists(LAKKA_SSH_PATH);
|
||||||
settings->bools.samba_enable = path_file_exists(LAKKA_SAMBA_PATH);
|
settings->bools.samba_enable = path_file_exists(LAKKA_SAMBA_PATH);
|
||||||
|
|
Loading…
Reference in New Issue