mirror of https://github.com/nmlgc/ReC98.git
17 lines
313 B
C
17 lines
313 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include "ReC98.h"
|
|
#include "th01/hardware/graph.h"
|
|
|
|
void graph_printf_fx(
|
|
screen_x_t left, vram_y_t top, int16_t col_and_fx, const char *fmt, ...
|
|
)
|
|
{
|
|
char str[256];
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
vsprintf(str, fmt, ap);
|
|
graph_putsa_fx(left, top, col_and_fx, str);
|
|
}
|