mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-28 05:38:24 +00:00
commit
5d2d513bf9
@ -167,6 +167,8 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
||||
{
|
||||
void *tex_p;
|
||||
vita_video_t *vita = (vita_video_t *)data;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
|
||||
(void)frame;
|
||||
(void)width;
|
||||
@ -225,7 +227,7 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
||||
|
||||
vita2d_start_drawing();
|
||||
vita2d_clear_screen();
|
||||
|
||||
|
||||
if (vita->texture)
|
||||
{
|
||||
if (vita->fullscreen)
|
||||
@ -243,6 +245,15 @@ static bool vita2d_gfx_frame(void *data, const void *frame,
|
||||
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
|
||||
if (vita->overlay_enable)
|
||||
|
Loading…
Reference in New Issue
Block a user