mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Go through function pointer again
This commit is contained in:
parent
9e4ce6c7e3
commit
614674f436
21
retroarch.c
21
retroarch.c
@ -9165,22 +9165,11 @@ bool video_driver_cached_frame(void)
|
|||||||
recording_data = NULL;
|
recording_data = NULL;
|
||||||
|
|
||||||
if (current_core.inited)
|
if (current_core.inited)
|
||||||
{
|
retro_ctx.frame_cb(
|
||||||
#ifdef HAVE_NETWORKING
|
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
||||||
if (netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
|
? frame_cache_data : NULL,
|
||||||
video_frame_net(
|
frame_cache_width,
|
||||||
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
frame_cache_height, frame_cache_pitch);
|
||||||
? frame_cache_data : NULL,
|
|
||||||
frame_cache_width,
|
|
||||||
frame_cache_height, frame_cache_pitch);
|
|
||||||
else
|
|
||||||
#endif
|
|
||||||
video_driver_frame(
|
|
||||||
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
|
||||||
? frame_cache_data : NULL,
|
|
||||||
frame_cache_width,
|
|
||||||
frame_cache_height, frame_cache_pitch);
|
|
||||||
}
|
|
||||||
|
|
||||||
recording_data = recording;
|
recording_data = recording;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user