[*] Amend again: 7046ccec11

This commit is contained in:
Reece Wilson 2024-10-06 00:35:57 +01:00
parent 978693559e
commit f93181b0bf
2 changed files with 7 additions and 7 deletions

View File

@ -138,7 +138,7 @@ namespace Aurora::IO::FS
AuString tempPath;
if (Process::GetWorkingDirectory(tempPath))
{
tempPath += "/" + fileName;
tempPath += "/" + AuString(fileName);
if (FileExists(tempPath))
{
path = tempPath;

View File

@ -317,11 +317,11 @@ namespace Aurora::Process
static void *LoadModule(const AuROString &name, const AuROString &path)
{
void *pFound {};
void **pFound {};
if (AuTryFind(gModuleHandles, path, pFound))
{
return pFound;
return *pFound;
}
#if defined(AURORA_IS_MODERNNT_DERIVED)
@ -651,11 +651,11 @@ namespace Aurora::Process
{
AU_LOCK_GLOBAL_GUARD(gSpinLock);
void *pFound {};
void **pFound {};
if (AuTryFind(gModuleHandles, request.mod, pFound))
{
return pFound;
return *pFound;
}
// TODO: need safe string container
@ -780,7 +780,7 @@ namespace Aurora::Process
{
AU_LOCK_GLOBAL_GUARD(gSpinLock);
void *pFound {};
void **pFound {};
if (!AuTryFind(gModuleHandles, name, pFound))
{
@ -788,7 +788,7 @@ namespace Aurora::Process
return {};
}
return pFound;
return *pFound;
}
AUKN_SYM AuMach GetProcAddress(const AuROString &mod, const AuRONString &symbol)