Skip to content

Commit 7a11830

Browse files
shermpjohnnovak
authored andcommitted
Change SOUNDCANVAS_ROM_DIR to SOUNDCANVAS_ROM_PATH
1 parent b95b1f4 commit 7a11830

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ Nuked-SC55-Resources
6666

6767
On macOS, you can also put the `ROMs` folder in the `Resources` folder inside the `Nuked-SC55.clap` application bundle.
6868

69-
As an alternative to creating the `Nuked-SC55-Resources` directory in the plugin location, you may set the `SOUNDCANVAS_ROM_DIR` environment variable to a list of absolute directories of where to look for ROM's. The OS PATH separator is used as a list delimiter Eg:
69+
As an alternative to creating the `Nuked-SC55-Resources` directory in the plugin location, you may set the `SOUNDCANVAS_ROM_PATH` environment variable to a list of absolute directories of where to look for ROM's. The OS PATH separator is used as a list delimiter Eg:
7070

7171
```pwsh
72-
$Env:SOUNDCANVAS_ROM_DIR = "C:\path\to\ROM\dir"
72+
$Env:SOUNDCANVAS_ROM_PATH = "C:\path\to\ROM\dir"
7373
```
7474
```pwsh
75-
$Env:SOUNDCANVAS_ROM_DIR = "C:\path\to\ROM\dir;Z:\alt\path\to\dir"
75+
$Env:SOUNDCANVAS_ROM_PATH = "C:\path\to\ROM\dir;Z:\alt\path\to\dir"
7676
```
7777

7878
or
7979

8080
```sh
81-
export SOUNDCANVAS_ROM_DIR=/path/to/ROM/dir
81+
export SOUNDCANVAS_ROM_PATH=/path/to/ROM/dir
8282
```
8383
```sh
84-
export SOUNDCANVAS_ROM_DIR=/path/to/ROM/dir:/alt/path/to/rom/dir
84+
export SOUNDCANVAS_ROM_PATH=/path/to/ROM/dir:/alt/path/to/rom/dir
8585
```
8686

8787
Here is the list of required files for each supported model and their SHA1 hashes. Lookup is performed by filename, so make sure the names match exactly.

src/nuked_sc55.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const clap_plugin_t* NukedSc55::GetPluginClass()
120120
// Entries must be separated by the OS PATH separator
121121
std::vector<std::filesystem::path> NukedSc55::GetRomEnvDirs()
122122
{
123-
constexpr char env_rom_dir_name[] = "SOUNDCANVAS_ROM_DIR";
123+
constexpr char env_rom_dir_name[] = "SOUNDCANVAS_ROM_PATH";
124124
std::vector<std::filesystem::path> paths = {};
125125
const auto env_dir_list = get_env_var(env_rom_dir_name);
126126
if (env_dir_list.empty()) {

0 commit comments

Comments
 (0)