mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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;
|
||||
|
||||
if (current_core.inited)
|
||||
{
|
||||
#ifdef HAVE_NETWORKING
|
||||
if (netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
|
||||
video_frame_net(
|
||||
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
||||
? 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);
|
||||
}
|
||||
retro_ctx.frame_cb(
|
||||
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
||||
? frame_cache_data : NULL,
|
||||
frame_cache_width,
|
||||
frame_cache_height, frame_cache_pitch);
|
||||
|
||||
recording_data = recording;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user