git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/libc/printf.c

      1 #include <stdio.h>
      2 #include <stdarg.h>
      3 
      4 void __printf(const char *format, void *emitter, char **pData, va_list va);
      5 
      6 void printf(const char *format, ...) {
      7     va_list va;
      8     va_start(va, format);
      9 
     10     __printf(format, (void *)putchar, NULL, va);
     11 }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.