mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00
Fix compile error in 3rdparty/bx with newer Emscripten versions (#12098)
From bkaradzic/bx@03fd6f4771
This commit is contained in:
parent
39db822d4e
commit
28210363d0
8
3rdparty/bx/src/debug.cpp
vendored
8
3rdparty/bx/src/debug.cpp
vendored
@ -43,7 +43,13 @@ namespace bx
|
||||
// NativeClient: NaCl module load failed: Validation failure. File violates Native Client safety rules.
|
||||
__asm__ ("int $3");
|
||||
#elif BX_PLATFORM_EMSCRIPTEN
|
||||
emscripten_log(EM_LOG_CONSOLE | EM_LOG_ERROR | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_DEMANGLE, "debugBreak!");
|
||||
emscripten_log(0
|
||||
| EM_LOG_CONSOLE
|
||||
| EM_LOG_ERROR
|
||||
| EM_LOG_C_STACK
|
||||
| EM_LOG_JS_STACK
|
||||
, "debugBreak!"
|
||||
);
|
||||
// Doing emscripten_debugger() disables asm.js validation due to an emscripten bug
|
||||
//emscripten_debugger();
|
||||
EM_ASM({ debugger; });
|
||||
|
Loading…
Reference in New Issue
Block a user