aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 0126646..318b196 100644
--- a/src/config.c
+++ b/src/config.c
@@ -39,3 +39,14 @@ void getCacheDir(char* config, const size_t size)
getXDGDir("XDG_CACHE_HOME", "/.cache/" NAME, config, size);
}
+void getWineDir(char* config, const size_t size)
+{
+ getDataDir(config, size);
+ strncat(config, "/wine", size - strlen(config) - 1);
+}
+
+void getDXVKDir(char* config, const size_t size)
+{
+ getDataDir(config, size);
+ strncat(config, "/dxvk", size - strlen(config) - 1);
+} \ No newline at end of file