comparison ztestrun.c @ 896:74cc31040521

Get ztestrun compiling again
author Michael Pavone <pavone@retrodev.com>
date Wed, 25 Nov 2015 20:31:21 -0800
parents ab017fb09e77
children a27fdf43f1a7
comparison
equal deleted inserted replaced
895:13388ab6d78a 896:74cc31040521
8 #include "mem.h" 8 #include "mem.h"
9 #include "vdp.h" 9 #include "vdp.h"
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <stddef.h> 12 #include <stddef.h>
13 #include <stdarg.h>
14
15 void fatal_error(char *format, ...)
16 {
17 va_list args;
18 va_start(args, format);
19 vfprintf(stderr, format, args);
20 va_end(args);
21 exit(1);
22 }
13 23
14 uint8_t z80_ram[0x2000]; 24 uint8_t z80_ram[0x2000];
15 25
16 uint8_t z80_unmapped_read(uint32_t location, void * context) 26 uint8_t z80_unmapped_read(uint32_t location, void * context)
17 { 27 {