impr: Make script loaders be initialized synchronously

This commit is contained in:
WerWolv
2023-07-21 20:25:56 +02:00
parent f6bbfd7283
commit c294619102
2 changed files with 16 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ namespace hex::script::loader {
result = hostfxr_get_runtime_delegate(
ctx,
hdt_load_assembly_and_get_function_pointer,
hostfxr_delegate_type::hdt_load_assembly_and_get_function_pointer,
(void**)&loadAssemblyFunction
);