diff --git a/src/emu/emucore.h b/src/emu/emucore.h index d1eea01e08f..899ee9fa670 100644 --- a/src/emu/emucore.h +++ b/src/emu/emucore.h @@ -214,11 +214,6 @@ inline void operator--(_Type &value, int) { value = (_Type)((int)value - 1); } #define FUNC(x) &x, #x #define FUNC_NULL NULL, "(null)" -#ifndef REGRESSION_TESTING - -#define assert_always(x, msg) do { if (!(x)) { fprintf(stderr, "%s:%d: Assert failure: %s: %s\n", __FILE__, __LINE__, msg, #x); abort(); }} while (0) - -#else // standard assertion macros #undef assert @@ -235,8 +230,6 @@ inline void operator--(_Type &value, int) { value = (_Type)((int)value - 1); } #define assert_always(x, msg) do { if (!(x)) throw emu_fatalerror("Fatal error: %s (%s:%d)", msg, __FILE__, __LINE__); } while (0) #endif -#endif - // macros to convert radians to degrees and degrees to radians #define RADIAN_TO_DEGREE(x) ((180.0 / M_PI) * (x))