Setup exception handler in examples.

This commit is contained in:
Бранимир Караџић
2025-08-23 19:29:43 -07:00
parent f268ce5c96
commit cbe6789a93

View File

@@ -595,6 +595,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
int main(int _argc, const char* const* _argv)
{
//DBG(BX_COMPILER_NAME " / " BX_CPU_NAME " / " BX_ARCH_NAME " / " BX_PLATFORM_NAME);
bx::installExceptionHandler();
s_fileReader = BX_NEW(g_allocator, FileReader);
s_fileWriter = BX_NEW(g_allocator, FileWriter);