Add some fs paths
This commit is contained in:
parent
7cb084e1ef
commit
5d3b4804d6
@ -47,6 +47,11 @@ namespace filesystem
|
||||
filesystem::register_path(utils::properties::get_appdata_path() / CLIENT_DATA_FOLDER);
|
||||
filesystem::register_path(L".");
|
||||
filesystem::register_path(L"h1-mod");
|
||||
filesystem::register_path(L"devraw");
|
||||
filesystem::register_path(L"devraw_shared");
|
||||
filesystem::register_path(L"raw_shared");
|
||||
filesystem::register_path(L"raw");
|
||||
filesystem::register_path(L"main");
|
||||
|
||||
fs_startup_hook.invoke<void>(name);
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace steam
|
||||
std::string content;
|
||||
if (::utils::io::read_file(LANGUAGE_FILE, &content))
|
||||
{
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
console::info("Language switched to \"%s\".\n", content.data());
|
||||
#endif
|
||||
strcpy_s(language, sizeof(language), content.data());
|
||||
|
Loading…
Reference in New Issue
Block a user