mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-09 16:56:27 +02:00
add nativaot libryujinx project
This commit is contained in:
parent
cea50d80c9
commit
1694303e4c
13 changed files with 1530 additions and 3 deletions
20
src/LibRyujinx/OpenTKBindingsContext.cs
Normal file
20
src/LibRyujinx/OpenTKBindingsContext.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using OpenTK;
|
||||
using System;
|
||||
|
||||
namespace LibRyujinx.Shared
|
||||
{
|
||||
public class OpenTKBindingsContext : IBindingsContext
|
||||
{
|
||||
private readonly Func<string, IntPtr> _getProcAddress;
|
||||
|
||||
public OpenTKBindingsContext(Func<string, IntPtr> getProcAddress)
|
||||
{
|
||||
_getProcAddress = getProcAddress;
|
||||
}
|
||||
|
||||
public IntPtr GetProcAddress(string procName)
|
||||
{
|
||||
return _getProcAddress(procName);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue