mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
commit
5d2d513bf9
@ -167,6 +167,8 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
|||||||
{
|
{
|
||||||
void *tex_p;
|
void *tex_p;
|
||||||
vita_video_t *vita = (vita_video_t *)data;
|
vita_video_t *vita = (vita_video_t *)data;
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
|
|
||||||
(void)frame;
|
(void)frame;
|
||||||
(void)width;
|
(void)width;
|
||||||
@ -225,7 +227,7 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
|||||||
|
|
||||||
vita2d_start_drawing();
|
vita2d_start_drawing();
|
||||||
vita2d_clear_screen();
|
vita2d_clear_screen();
|
||||||
|
|
||||||
if (vita->texture)
|
if (vita->texture)
|
||||||
{
|
{
|
||||||
if (vita->fullscreen)
|
if (vita->fullscreen)
|
||||||
@ -243,6 +245,15 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
|||||||
vita->vp.y, scalex, scaley, rad);
|
vita->vp.y, scalex, scaley, rad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings->fps_show)
|
||||||
|
{
|
||||||
|
char buffer[128] = {0};
|
||||||
|
char buffer_fps[128] = {0};
|
||||||
|
video_monitor_get_fps(buffer, sizeof(buffer),
|
||||||
|
settings->fps_show ? buffer_fps : NULL, sizeof(buffer_fps));
|
||||||
|
runloop_msg_queue_push(buffer_fps, 1, 1, false);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
if (vita->overlay_enable)
|
if (vita->overlay_enable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user