summarylogtreecommitdiffstats
path: root/use-global-path.patch
blob: a0270f804f9c8b2298993f5133f94fbdc8a0db13 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Source/PluginGui.h
+++ b/Source/PluginGui.h
@@ -166,7 +166,7 @@ return options;
     Array<File> allSbiFiles;
 
 #if!JUCE_IOS
-    File instrumentLoadDirectory = File::getSpecialLocation(File::userDocumentsDirectory).getChildFile("discoDSP").getChildFile("OPL"); // File();
+    File instrumentLoadDirectory = File::getSpecialLocation(File::globalApplicationsDirectory).getChildFile("share").getChildFile("opl-synth"); // File();
     File instrumentSaveDirectory = File::getSpecialLocation(File::userDocumentsDirectory).getChildFile("discoDSP").getChildFile("OPL"); // File();
 #endif
 #if JUCE_IOS