SummerCart64/sw/bootloader/src/error.c

14 lines
225 B
C
Raw Normal View History

2022-01-15 02:44:43 +01:00
#include <stdarg.h>
2022-01-11 20:22:24 +01:00
#include "exception.h"
2022-01-11 23:41:13 +01:00
void error_display (const char *fmt, ...) {
2022-01-15 02:44:43 +01:00
va_list args;
va_start(args, fmt);
2022-01-11 20:22:24 +01:00
EXCEPTION_TRIGGER(TRIGGER_CODE_ERROR);
2022-01-15 02:44:43 +01:00
va_end(args);
2022-05-15 15:47:12 +02:00
while (1);
2022-01-11 20:22:24 +01:00
}