mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(ps_libdbgfont) Add elif defined(__CELLOS_LV2__)
This commit is contained in:
parent
c837e1101d
commit
0e7501759f
@ -23,7 +23,7 @@
|
|||||||
#define DbgFontInit sceDbgFontInit
|
#define DbgFontInit sceDbgFontInit
|
||||||
#define DbgFontExit sceDbgFontExit
|
#define DbgFontExit sceDbgFontExit
|
||||||
#define DbgFontDraw sceDbgFontFlush
|
#define DbgFontDraw sceDbgFontFlush
|
||||||
#else
|
#elif defined(__CELLOS_LV2__)
|
||||||
#include <cell/dbgfont.h>
|
#include <cell/dbgfont.h>
|
||||||
#define SCE_DBGFONT_BUFSIZE_LARGE 512
|
#define SCE_DBGFONT_BUFSIZE_LARGE 512
|
||||||
#define DbgFontPrint(x, y, scale, color, msg) cellDbgFontPrintf(x, y, scale, color, msg)
|
#define DbgFontPrint(x, y, scale, color, msg) cellDbgFontPrintf(x, y, scale, color, msg)
|
||||||
@ -41,7 +41,7 @@ void gl_init_font(void *data, const char *font_path, unsigned font_size)
|
|||||||
DbgFontConfig cfg;
|
DbgFontConfig cfg;
|
||||||
#if defined(SN_TARGET_PSP2)
|
#if defined(SN_TARGET_PSP2)
|
||||||
cfg.fontSize = SCE_DBGFONT_FONTSIZE_LARGE;
|
cfg.fontSize = SCE_DBGFONT_FONTSIZE_LARGE;
|
||||||
#else
|
#elif defined(__CELLOS_LV2__)
|
||||||
gl_t *gl = (gl_t*)data;
|
gl_t *gl = (gl_t*)data;
|
||||||
|
|
||||||
cfg.bufSize = SCE_DBGFONT_BUFSIZE_LARGE;
|
cfg.bufSize = SCE_DBGFONT_BUFSIZE_LARGE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user