diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-25 20:31:21 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-25 20:31:21 -0800 |
commit | deda4904e02a1884c8659bb125d57a32aa4f9e18 (patch) | |
tree | b22f624944b51c5404cb2190de042c0657fd9457 /ztestrun.c | |
parent | 876dcdb478b2d9dc312781d4399d8d757eebad55 (diff) |
Get ztestrun compiling again
Diffstat (limited to 'ztestrun.c')
-rw-r--r-- | ztestrun.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -10,6 +10,16 @@ #include <stdio.h> #include <stdlib.h> #include <stddef.h> +#include <stdarg.h> + +void fatal_error(char *format, ...) +{ + va_list args; + va_start(args, format); + vfprintf(stderr, format, args); + va_end(args); + exit(1); +} uint8_t z80_ram[0x2000]; |