1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2025-02-22 05:09:44 +01:00
2024-12-16 11:18:00 +08:00

11 lines
228 B
C

#include "env.h"
const wchar_t* get_config_path() {
static wchar_t path[MAX_PATH];
if (!GetEnvironmentVariableW(L"SEGATOOLS_CONFIG_PATH", path, MAX_PATH)) {
return L".\\segatools.ini";
}
return path;
}