project64/Source/Project64-core/ExceptionHandler.h

12 lines
248 B
C

#pragma once
#ifdef _WIN32
#include <excpt.h>
#define __except_try() __try
#define __except_catch() __except (g_MMU->MemoryFilter(_exception_code(), _exception_info()))
#else
#define __except_try() try
#define __except_catch() catch (...)
#endif