+ if (config.asset_path.empty()) {
+ config.asset_path = default_asset_path();
+ } else if (
+ config.asset_path[config.asset_path.size() - 1] != '/' &&
+ config.asset_path[config.asset_path.size() - 1] != '\\'
+ ) {
+ config.asset_path += '/';
+ }
+ if (config.save_path.empty()) {
+ config.save_path = default_save_path();
+ } else if (
+ config.save_path[config.save_path.size() - 1] != '/' &&
+ config.save_path[config.save_path.size() - 1] != '\\'
+ ) {
+ config.save_path += '/';
+ }
+