[*] Another AuProcess DLL loader fixerino

This commit is contained in:
Reece Wilson 2023-10-10 21:24:41 +01:00
parent 709a95cee1
commit bee9b8b07b

View File

@ -39,7 +39,7 @@
namespace Aurora::Process namespace Aurora::Process
{ {
static AuThreadPrimitives::SpinLock gSpinLock; static AuFutexMutex gSpinLock;
static AuHashMap<AuString, void *> gModuleHandles; static AuHashMap<AuString, void *> gModuleHandles;
static const bool kIsMainSigned = false; static const bool kIsMainSigned = false;
@ -362,9 +362,9 @@ namespace Aurora::Process
#endif #endif
#if defined(AURORA_IS_MODERNNT_DERIVED) #if defined(AURORA_IS_MODERNNT_DERIVED)
auto returnValue = LoadModule(absPath); auto returnValue = LoadModule(request.mod, absPath);
#else #else
auto returnValue = LoadModule(pathNrml); auto returnValue = LoadModule(request.mod, pathNrml);
#endif #endif
#if defined(AURORA_IS_MODERNNT_DERIVED) #if defined(AURORA_IS_MODERNNT_DERIVED)