aboutsummaryrefslogtreecommitdiff
path: root/fmdsp/fmdsp.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-01-18 23:37:07 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-01-18 23:37:07 +0900
commite8fd09abf68b944b05554c82adb577514cad5ca5 (patch)
treef8882715e86534cec2dc20154fd24c6bef3c668b /fmdsp/fmdsp.h
parent09ea1fe272aca6ebb6840f02765acd44ac3ecebc (diff)
improve FMDSP and enable title display on win32
Diffstat (limited to 'fmdsp/fmdsp.h')
-rw-r--r--fmdsp/fmdsp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fmdsp/fmdsp.h b/fmdsp/fmdsp.h
index 4c6af0c..a7b245a 100644
--- a/fmdsp/fmdsp.h
+++ b/fmdsp/fmdsp.h
@@ -2,6 +2,7 @@
#define MYON_FMDSP_H_INCLUDED
#include <stdint.h>
+#include "font.h"
#ifdef __cplusplus
extern "C" {
@@ -19,13 +20,14 @@ enum {
struct fmdsp {
uint8_t palette[FMDSP_PALETTE_COLORS*3];
uint8_t target_palette[FMDSP_PALETTE_COLORS*3];
+ const struct fmdsp_font *font98;
+
};
struct fmdriver_work;
-void fmdsp_init(struct fmdsp *fmdsp);
+void fmdsp_init(struct fmdsp *fmdsp, const struct fmdsp_font *font);
void fmdsp_vram_init(struct fmdsp *fmdsp,
struct fmdriver_work *work,
- const uint8_t *font,
uint8_t *vram);
void fmdsp_update(struct fmdsp *fmdsp, const struct fmdriver_work *work, uint8_t *vram);
void fmdsp_vrampalette(struct fmdsp *fmdsp, const uint8_t *vram, uint8_t *vram32, int stride);