Copy module path; this fixes modules loading on i686
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Rafal Kupiec 2022-10-16 23:49:40 +02:00
parent 3894d4fd75
commit c60a46967f
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ BlLoadEfiModules()
BlDbgPrint(L"Loading module '%S' ... ", ModuleName);
/* Set correct path to the module file */
RtlWideStringConcatenate(ModulePath, ModulesDirPath, 0);
RtlCopyMemory(ModulePath, ModulesDirPath, sizeof(ModulePath) / sizeof(WCHAR));
RtlWideStringConcatenate(ModulePath, ModuleName, 0);
/* Find valid device path */