diff --git a/src/lol/debug.h b/src/lol/debug.h index 05a25b17..f3700ae4 100644 --- a/src/lol/debug.h +++ b/src/lol/debug.h @@ -23,7 +23,11 @@ namespace lol static inline void Abort() { +#if defined __CELLOS_LV2__ + *(uint32_t *)NULL = 0; +#else std::abort(); +#endif } } /* namespace lol */