diff --git a/UI.hpp b/UI.hpp index 23902e1..8824ec7 100644 --- a/UI.hpp +++ b/UI.hpp @@ -6472,13 +6472,13 @@ void UI_func_load_performance(uint8_t param) lcd.print("Does not exist."); else { - load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[0], 0); + load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[0], 0, 0); set_voiceconfig_params(0); #if NUM_DEXED > 1 - load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[1], 1); + load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[1], 1, 0); set_voiceconfig_params(1); #endif - load_sd_fx_json(configuration.performance.fx_number); + load_sd_fx_json(configuration.performance.fx_number, 0); set_fx_params(); lcd.print("Done. "); @@ -6686,7 +6686,7 @@ void UI_func_load_voiceconfig(uint8_t param) if (mode > 0) { mode = 0xff; lcd.setCursor(0, 1); - if (load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id) == false) + if (load_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id, 0) == false) lcd.print("Does not exist. "); else lcd.print("Done. "); @@ -6816,7 +6816,7 @@ void UI_func_save_voiceconfig(uint8_t param) sprintf(tmp, "/%s/%s%d.json", VOICE_CONFIG_PATH, VOICE_CONFIG_NAME, configuration.performance.voiceconfig_number[selected_instance_id]); SD.remove(tmp); } - save_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id); + save_sd_voiceconfig_json(configuration.performance.voiceconfig_number[selected_instance_id], selected_instance_id, 0); lcd.show(1, 0, 16, "Done."); delay(MESSAGE_WAIT_TIME); LCDML.FUNC_goBackToMenu(); @@ -6925,7 +6925,7 @@ void UI_func_load_fx(uint8_t param) mode = 0xff; lcd.setCursor(0, 1); - if (load_sd_fx_json(configuration.performance.fx_number) == false) + if (load_sd_fx_json(configuration.performance.fx_number, 0) == false) lcd.print("Does not exist. "); else lcd.print("Done. "); @@ -7023,7 +7023,7 @@ void UI_func_save_fx(uint8_t param) sprintf(tmp, "/%s/%s%d.json", FX_CONFIG_PATH, FX_CONFIG_NAME, configuration.performance.fx_number); SD.remove(tmp); } - save_sd_fx_json(configuration.performance.fx_number); + save_sd_fx_json(configuration.performance.fx_number, 0); lcd.show(1, 0, 16, "Done."); LCDML.FUNC_goBackToMenu();