mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 16:58:29 +00:00
Fixed missing LoadedArchitecture assignment
This commit is contained in:
parent
565e5ca1b2
commit
63ef78f8fc
@ -36,6 +36,8 @@ namespace CUE.NET.Native
|
||||
{
|
||||
if (_dllHandle != IntPtr.Zero) return;
|
||||
|
||||
LoadedArchitecture = LoadedArchitecture = Environment.Is64BitProcess ? "x64" : "x86";
|
||||
|
||||
// HACK: Load library at runtime to support both, x86 and x64 with one managed dll
|
||||
List<string> possiblePathList = Environment.Is64BitProcess ? CueSDK.PossibleX64NativePaths : CueSDK.PossibleX86NativePaths;
|
||||
string dllPath = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user