| Previous | 199869 Revisions | Next |
| r26071 Saturday 9th November, 2013 at 15:42:11 UTC by Jürgen Buchmüller |
|---|
| Make alto2_cpu_device::logprintf() actually print the debug output |
| [/branches/alto2/src/emu/cpu/alto2] | alto2.c |
| r26070 | r26071 | |
|---|---|---|
| 711 | 711 | { |
| 712 | 712 | } |
| 713 | 713 | |
| 714 | // FIXME | |
| 715 | 714 | #if ALTO2_DEBUG |
| 715 | // FIXME: define types (sections) and print the section like [emu] [kwd] ... | |
| 716 | // FIXME: use the level to suppress messages if logging is less verbose than level | |
| 716 | 717 | void alto2_cpu_device::logprintf(int type, int level, const char* format, ...) |
| 717 | 718 | { |
| 719 | va_list ap; | |
| 720 | va_start(ap, format); | |
| 721 | vprintf(format, ap); | |
| 722 | va_end(ap); | |
| 718 | 723 | } |
| 719 | 724 | #endif |
| 720 | 725 |
| Previous | 199869 Revisions | Next |