video_driver_cached_frame - don't go through function pointer for

frame_cb - call video_driver_frame directly
This commit is contained in:
twinaphex 2019-06-22 20:44:20 +02:00
parent 74e4b05f5a
commit a6a6597f2d

View File

@ -9146,7 +9146,8 @@ bool video_driver_cached_frame(void)
/* Cannot allow recording when pushing duped frames. */
recording_data = NULL;
retro_ctx.frame_cb(
if (current_core.inited)
video_driver_frame(
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
? frame_cache_data : NULL,
frame_cache_width,