2019-12-18 05:45:08 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "ReC98.h"
|
|
|
|
#include "th01/hardware/graph.h"
|
|
|
|
|
2020-08-20 19:59:45 +00:00
|
|
|
void graph_printf_fx(
|
2020-10-26 13:30:35 +00:00
|
|
|
screen_x_t left, vram_y_t top, int16_t col_and_fx, const char *fmt, ...
|
2020-08-20 19:59:45 +00:00
|
|
|
)
|
2019-12-18 05:45:08 +00:00
|
|
|
{
|
|
|
|
char str[256];
|
|
|
|
va_list ap;
|
|
|
|
|
|
|
|
va_start(ap, fmt);
|
|
|
|
vsprintf(str, fmt, ap);
|
2020-10-26 13:30:35 +00:00
|
|
|
graph_putsa_fx(left, top, col_and_fx, str);
|
2019-12-18 05:45:08 +00:00
|
|
|
}
|