diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-08-10 20:04:47 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-08-10 20:04:56 +0200 |
| commit | 3760be946f98f1580d06f397f38b6f7f2c19147e (patch) | |
| tree | 875ac97714ed635b8388f89e8c26e34f762d88cd /src/wrapped/wrappedlibdrmamdgpu.c | |
| parent | 7db74b84cf396987f720ca08932950e8ea46aa68 (diff) | |
| download | box64-3760be946f98f1580d06f397f38b6f7f2c19147e.tar.gz box64-3760be946f98f1580d06f397f38b6f7f2c19147e.zip | |
[WRAPPER] Wrapped libdrm_amdgpu.so.1
Diffstat (limited to 'src/wrapped/wrappedlibdrmamdgpu.c')
| -rw-r--r-- | src/wrapped/wrappedlibdrmamdgpu.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibdrmamdgpu.c b/src/wrapped/wrappedlibdrmamdgpu.c new file mode 100644 index 00000000..4e58f5f5 --- /dev/null +++ b/src/wrapped/wrappedlibdrmamdgpu.c @@ -0,0 +1,30 @@ +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "emu/x64emu_private.h" +#include "callback.h" +#include "librarian.h" +#include "box64context.h" +#include "emu/x64emu_private.h" +#include "myalign.h" + +const char* libdrmamdgpuName = "libdrm_amdgpu.so.1"; +#define LIBNAME libdrmamdgpu + +#define ADDED_FUNCTIONS() \ + +//#include "generated/wrappedlibdrmamdgputypes.h" + +//#include "wrappercallback.h" + +#include "wrappedlib_init.h" |