diff options
Diffstat (limited to 'source/framebuffer.c')
-rw-r--r-- | source/framebuffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/framebuffer.c b/source/framebuffer.c index efdd27b..a06ef00 100644 --- a/source/framebuffer.c +++ b/source/framebuffer.c @@ -222,6 +222,12 @@ void FB_EndFrame(void) } +u16 FB_GetColour(FB_Colour col) +{ + return pal[col]; +} + + void FB_Print(Framebuffer *fb, const char *text, int x, int y, FB_Colour colour, FB_Colour paper) { |