src/mess/tools/floptool/main.c
| r13471 | r13472 | |
| 14 | 14 | #include <stdlib.h> |
| 15 | 15 | #include <time.h> |
| 16 | 16 | #include <assert.h> |
| 17 | #include <stdarg.h> |
| 17 | 18 | |
| 18 | 19 | #include "corestr.h" |
| 19 | 20 | |
| r13471 | r13472 | |
| 42 | 43 | FLOPPY_DSK_FORMAT |
| 43 | 44 | }; |
| 44 | 45 | |
| 46 | void CLIB_DECL logerror(const char *format, ...) |
| 47 | { |
| 48 | va_list arg; |
| 49 | va_start(arg, format); |
| 50 | printf(format, arg); |
| 51 | va_end(arg); |
| 52 | } |
| 53 | |
| 45 | 54 | enum { FORMAT_COUNT = sizeof(floppy_formats)/sizeof(floppy_formats[0]) }; |
| 46 | 55 | |
| 47 | 56 | static floppy_image_format_t *formats[FORMAT_COUNT]; |