X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=a71ddea3a669bcc0e4a69e8673180cd8c0f03b80;hp=24e1f12a83eb3bb7e67a11c622622b840fa19ca2;hb=e0aec5eebf0fefe7a7314940546ef8a23d2169b7;hpb=22fa3f2b3d09f3694f938ca895d447a30ec96f25 diff --git a/frontend/main.c b/frontend/main.c index 24e1f12a..a71ddea3 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -860,15 +860,6 @@ void *SysLoadLibrary(const char *lib) { return (void *)(long)(PLUGIN_DL_BASE + builtin_plugin_ids[i]); } -#if defined(__x86_64__) || defined(__i386__) - // convenience hack - if (strstr(lib, ".x86") == NULL) { - char name[MAXPATHLEN]; - snprintf(name, sizeof(name), "%s.x86_64", lib); - lib = name; - } -#endif - ret = dlopen(lib, RTLD_NOW); if (ret == NULL) fprintf(stderr, "dlopen: %s\n", dlerror());