input: allow dynamic change of midi drum config

This commit is contained in:
Megamouse 2024-06-26 19:29:29 +02:00
parent e790842007
commit 0679b502f2
4 changed files with 139 additions and 119 deletions

View file

@ -33,7 +33,7 @@ bool cfg_rb3drums::load()
return false;
}
void cfg_rb3drums::save() const
void cfg_rb3drums::save()
{
cfg_log.notice("Saving rb3drums config to '%s'", path);
@ -41,4 +41,6 @@ void cfg_rb3drums::save() const
{
cfg_log.error("Failed to save rb3drums config to '%s' (error=%s)", path, fs::g_tls_error);
}
reload_requested = true;
}