about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedopenal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedopenal.c')
-rw-r--r--src/wrapped/wrappedopenal.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wrapped/wrappedopenal.c b/src/wrapped/wrappedopenal.c
index 80f58c46..75695c6c 100644
--- a/src/wrapped/wrappedopenal.c
+++ b/src/wrapped/wrappedopenal.c
@@ -20,8 +20,6 @@
 const char* openalName = "libopenal.so.1";
 #define LIBNAME openal
 
-static char* libname = NULL;
-
 #include "generated/wrappedopenaltypes.h"
 
 #include "wrappercallback.h"
@@ -63,13 +61,6 @@ void* my_alcGetProcAddress(x64emu_t* emu, void* device, void* name);
 void my_alRequestFoldbackStart(x64emu_t *emu, int32_t mode, int32_t count, int32_t length, void* mem, void* cb);
 void my_alRequestFoldbackStop(x64emu_t* emu);
 
-#define CUSTOM_INIT \
-    libname = lib->name;                \
-    getMy(lib);
-
-#define CUSTOM_FINI \
-    freeMy();
-
 #include "wrappedlib_init.h"