iidx-settings-folder-configurable
master
Additional flexibility to cover use-cases like storing this data on a separate partition which keeps the game data folder clean and read-only.
@@ -48,2 +66,3 @@
new_path[1] = '\\';
settings_build_new_path(lpPathName, new_path, sizeof(new_path));
log_misc("(CreateDir) Remapped settings path %s", new_path);
Can't you just set the value earlier?
static char settings_path[MAX_PATH] = ".\\";
nit: this block seems common across hooks, maybe factor it out?
looks good to me aside from some minor nits
No dependencies set.
The note is not visible to the blocked user.
Additional flexibility to cover use-cases like storing this
data on a separate partition which keeps the game data folder
clean and read-only.
@@ -48,2 +66,3 @@new_path[1] = '\\';settings_build_new_path(lpPathName, new_path, sizeof(new_path));log_misc("(CreateDir) Remapped settings path %s", new_path);Can't you just set the value earlier?
@@ -48,2 +66,3 @@new_path[1] = '\\';settings_build_new_path(lpPathName, new_path, sizeof(new_path));log_misc("(CreateDir) Remapped settings path %s", new_path);nit: this block seems common across hooks, maybe factor it out?
looks good to me aside from some minor nits