[*] W32oW64 awareness
This commit is contained in:
parent
274a0e1783
commit
eb1ec8b763
@ -194,7 +194,14 @@ namespace Aurora::IO::FS
|
|||||||
{
|
{
|
||||||
gHomeDirectory = GetSpecialDir(FOLDERID_RoamingAppData);
|
gHomeDirectory = GetSpecialDir(FOLDERID_RoamingAppData);
|
||||||
gApplicationData = GetSpecialDir(FOLDERID_ProgramData);
|
gApplicationData = GetSpecialDir(FOLDERID_ProgramData);
|
||||||
|
if constexpr (AuBuild::IsPlatformX32())
|
||||||
|
{
|
||||||
|
gSystemLibPath = GetSpecialDir(FOLDERID_SystemX86);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
gSystemLibPath = GetSpecialDir(FOLDERID_System);
|
gSystemLibPath = GetSpecialDir(FOLDERID_System);
|
||||||
|
}
|
||||||
gUserHomeDirectory = GetSpecialDir(FOLDERID_Profile);
|
gUserHomeDirectory = GetSpecialDir(FOLDERID_Profile);
|
||||||
gAdminWritableAppDirectory = gApplicationData;
|
gAdminWritableAppDirectory = gApplicationData;
|
||||||
gUserWritableAppData = gHomeDirectory;
|
gUserWritableAppData = gHomeDirectory;
|
||||||
|
Loading…
Reference in New Issue
Block a user