diff options
author | gameblabla | 2019-10-05 03:04:57 +0200 |
---|---|---|
committer | gameblabla | 2019-10-05 03:04:57 +0200 |
commit | d4753076e89d42cdad4a4f1ca4688fad3c56d873 (patch) | |
tree | c8641cf282f427d9329db00325e16609acca8663 /shell/menu/font_drawing.h | |
parent | 943821f94b9b2e22315fce876c2e369da7a79bcf (diff) | |
download | snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.gz snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.bz2 snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.zip |
Port the libretro core and make it standalone.
TODO :
- Input should use our config file instead.
- Missing audio in some games. (Star Ocean, doesn't happen with stock retroarch code. Odd...)
Diffstat (limited to 'shell/menu/font_drawing.h')
-rw-r--r-- | shell/menu/font_drawing.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/menu/font_drawing.h b/shell/menu/font_drawing.h new file mode 100644 index 0000000..e18ea04 --- /dev/null +++ b/shell/menu/font_drawing.h @@ -0,0 +1,13 @@ +#ifndef FONT_DRAWING_H +#define FONT_DRAWING_H + +#include <stdint.h> +#include <string.h> + +#define TextWhite 65535 +#define TextRed ((255>>3)<<11) + ((0>>2)<<5) + (0>>3) +#define TextBlue ((0>>3)<<11) + ((0>>2)<<5) + (255>>3) + +void print_string(const char *s, const uint16_t fg_color, const uint16_t bg_color, uint32_t x, uint32_t y, uint16_t* restrict buffer); + +#endif |