forked from xt-sys/exectos
Copy module path; this fixes modules loading on i686
This commit is contained in:
parent
3894d4fd75
commit
c60a46967f
@ -131,7 +131,7 @@ BlLoadEfiModules()
|
|||||||
BlDbgPrint(L"Loading module '%S' ... ", ModuleName);
|
BlDbgPrint(L"Loading module '%S' ... ", ModuleName);
|
||||||
|
|
||||||
/* Set correct path to the module file */
|
/* Set correct path to the module file */
|
||||||
RtlWideStringConcatenate(ModulePath, ModulesDirPath, 0);
|
RtlCopyMemory(ModulePath, ModulesDirPath, sizeof(ModulePath) / sizeof(WCHAR));
|
||||||
RtlWideStringConcatenate(ModulePath, ModuleName, 0);
|
RtlWideStringConcatenate(ModulePath, ModuleName, 0);
|
||||||
|
|
||||||
/* Find valid device path */
|
/* Find valid device path */
|
||||||
|
Loading…
Reference in New Issue
Block a user