Fix Preemptive Frames #ifdefs (#14834)

This commit is contained in:
neil4 2023-01-10 20:21:24 -06:00 committed by GitHub
parent cf4350178b
commit ee6aa753c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6244,9 +6244,10 @@ bool retroarch_main_init(int argc, char *argv[])
audio_driver_load_system_sounds();
#endif
#if defined(HAVE_RUNAHEAD) && defined(HAVE_NETWORKING)
#ifdef HAVE_RUNAHEAD
#ifdef HAVE_NETWORKING
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_IS_ENABLED, NULL))
#elif defined(HAVE_RUNAHEAD)
#endif
runloop_preempt_init();
#endif