diff options
Diffstat (limited to 'engines/sci/include/kernel.h')
-rw-r--r-- | engines/sci/include/kernel.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/sci/include/kernel.h b/engines/sci/include/kernel.h index 16e4c187d8..e9467e246e 100644 --- a/engines/sci/include/kernel.h +++ b/engines/sci/include/kernel.h @@ -27,6 +27,7 @@ #define _SCI_KERNEL_H_ #include "common/scummsys.h" +#include "common/debug.h" #include "sci/include/kdebug.h" #include "sci/include/uinput.h" @@ -113,12 +114,6 @@ kernel_lookup_text(struct _state *s, reg_t address, int index); /******************** Debug functionality ********************/ #define KERNEL_OOPS(reason) kernel_oops(s, __FILE__, __LINE__, reason) -/* Non-fatal assertion */ -#define SCIkASSERT(a) if (!(a)) { \ - SCIkwarn(SCIkERROR, "Assertion " #a " failed in " __FILE__ " line %d\n", __LINE__); \ - return; \ -} - #ifdef SCI_KERNEL_DEBUG #define CHECK_THIS_KERNEL_FUNCTION if (s->debug_mode & (1 << SCIkFUNCCHK_NR)) {\ |