vgbc/cpu/panic.h

10 lines
133 B
C++

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