mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 18:45:28 +00:00
Correct altered logic.
This commit is contained in:
parent
6eb77be281
commit
947162ce6c
|
@ -301,7 +301,7 @@ namespace OpenTK.Rewrite
|
|||
generatedVariables = EmitConvenienceWrapper(wrapper, native, difference, body, il);
|
||||
}
|
||||
|
||||
if (Options.UseDLLImport)
|
||||
if (slot == -1 || Options.UseDLLImport)
|
||||
{
|
||||
// issue DllImport call
|
||||
EmitCall(il, native);
|
||||
|
|
Loading…
Reference in a new issue