the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 24 lines 530 B view raw
1#pragma once 2 3 4 5#ifdef _CONTENT_PACKAGE 6 7#define spu_assert(a) {} 8#define spu_print(...) {} 9 10#else 11 12#include <spu_printf.h> 13#define spu_print spu_printf 14#define spu_assert(a) { \ 15 if(!(a)) \ 16 { \ 17 spu_printf( "===================================\n" \ 18 "spu_assert : \t%s \n Func : \t%s \n File : \t%s \n Line : \t%d\n" \ 19 "===================================\n", #a, __PRETTY_FUNCTION__, __FILE__, __LINE__); \ 20 si_stop(2); \ 21 } \ 22 } 23 24#endif // _CONTENT_PACKAGE