gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit ae6fc9654716909f7a35022ab85784b3f15ef23f
parent bddf3ba9369f292eb849b39bc703438d642ee105
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu, 24 Mar 2022 22:53:44 +0100

fix skins not found on disk on Mac & Linux

Diffstat:
Msource/synthLib/os.cpp | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/source/synthLib/os.cpp b/source/synthLib/os.cpp @@ -122,7 +122,12 @@ namespace synthLib { while ((ent = readdir(dir))) { - const std::string file = _folder + ent->d_name; + std::string file = _folder; + + if(file.back() != '/' && file.back() != '\\') + file += '/'; + + file += ent->d_name; _files.push_back(file); }