mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Fixed issue causing drivers using netlists to fail on the Emscripten target. [Justin Kerk]
This commit is contained in:
parent
6b4ad9d722
commit
0e77f9c540
@ -73,6 +73,8 @@ dynlib::dynlib(const pstring libname)
|
|||||||
//else
|
//else
|
||||||
// fprintf(stderr, "win: library <%s> not found!\n", libname.c_str());
|
// fprintf(stderr, "win: library <%s> not found!\n", libname.c_str());
|
||||||
pfree_array(buffer);
|
pfree_array(buffer);
|
||||||
|
#elif defined(EMSCRIPTEN)
|
||||||
|
//no-op
|
||||||
#else
|
#else
|
||||||
//printf("loading <%s>\n", libname.c_str());
|
//printf("loading <%s>\n", libname.c_str());
|
||||||
if (libname != "")
|
if (libname != "")
|
||||||
@ -103,6 +105,8 @@ dynlib::dynlib(const pstring path, const pstring libname)
|
|||||||
//printf("win: library <%s> not found!\n", libname.c_str());
|
//printf("win: library <%s> not found!\n", libname.c_str());
|
||||||
}
|
}
|
||||||
pfree_array(buffer);
|
pfree_array(buffer);
|
||||||
|
#elif defined(EMSCRIPTEN)
|
||||||
|
//no-op
|
||||||
#else
|
#else
|
||||||
//printf("loading <%s>\n", libname.c_str());
|
//printf("loading <%s>\n", libname.c_str());
|
||||||
if (libname != "")
|
if (libname != "")
|
||||||
|
Loading…
Reference in New Issue
Block a user