vgbc/cpu/panic.h

11 lines
133 B
C
Raw Normal View History

#include <cstdio>
#include <cstdlib>
template <typename... Args>
inline void panic(Args... args)
{
printf(args...);
exit(1);
}