config: Save and load cassette toggle properly
This commit is contained in:
@@ -2767,7 +2767,7 @@ save_storage_controllers(void)
|
|||||||
|
|
||||||
delete_section_if_empty(cat);
|
delete_section_if_empty(cat);
|
||||||
|
|
||||||
if (cassette_enable == 1)
|
if (cassette_enable == 0)
|
||||||
config_delete_var(cat, "cassette_enabled");
|
config_delete_var(cat, "cassette_enabled");
|
||||||
else
|
else
|
||||||
config_set_int(cat, "cassette_enabled", cassette_enable);
|
config_set_int(cat, "cassette_enabled", cassette_enable);
|
||||||
|
Reference in New Issue
Block a user