diff options
author | Ian C <ianc@noddybox.co.uk> | 2021-06-26 18:19:14 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2021-06-26 18:19:14 +0000 |
commit | 74fe4fda2a3059b97d1bfcc03e37be1a19ea82fe (patch) | |
tree | 93c45c5c0af845c3adc9345d0bf685525d53920b /source/framebuffer.c | |
parent | abad1c81839420fa60d8923d2332ea003cd73a06 (diff) |
Fast mode working and partial text mode. Plan on attempting a ULA emulation.
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) { |