[*] ensure these paths are always consistent
This commit is contained in:
parent
4a0eeefe1b
commit
19849ac0f2
@ -406,12 +406,12 @@ namespace Aurora::Process
|
||||
|
||||
static void *TryLoadModule(const AuString &path, const AuString &auDll, const AuString &genericDll, const ModuleLoadRequest &request, bool &fail)
|
||||
{
|
||||
AuString a = path + "/" + auDll;
|
||||
AuString b = path + "/" + genericDll;
|
||||
AuString a = path + AuString({ AuFS::kPathSplitter }) + auDll;
|
||||
AuString b = path + AuString({ AuFS::kPathSplitter }) + genericDll;
|
||||
|
||||
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
||||
AuString aAbs = path + "/" + auDll + ".";
|
||||
AuString bAbs = path + "/" + genericDll + ".";
|
||||
AuString aAbs = path + AuString({ AuFS::kPathSplitter }) + auDll + ".";
|
||||
AuString bAbs = path + AuString({ AuFS::kPathSplitter }) + genericDll + ".";
|
||||
#endif
|
||||
|
||||
if (AuIOFS::FileExists(a))
|
||||
@ -731,10 +731,10 @@ namespace Aurora::Process
|
||||
{
|
||||
auto &sharedDLL = *itr;
|
||||
|
||||
AuString a = dir + "/" + sharedDLL;
|
||||
AuString a = dir + AuString({ AuFS::kPathSplitter }) + sharedDLL;
|
||||
|
||||
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
||||
AuString aAbs = dir + "/" + sharedDLL + ".";
|
||||
AuString aAbs = dir + AuString({ AuFS::kPathSplitter }) + sharedDLL + ".";
|
||||
#endif
|
||||
|
||||
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
||||
|
Loading…
Reference in New Issue
Block a user