Ensure #ifdef instead of #if for HAVE_NETWORKING (#14299)

This commit is contained in:
Cthulhu-throwaway 2022-08-07 08:42:09 -03:00 committed by GitHub
parent 3dc979356f
commit 976a49ad2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1826,7 +1826,7 @@ bool command_event(enum event_command cmd, void *data)
rcheevos_reset_game(false);
#endif
#endif
#if HAVE_NETWORKING
#ifdef HAVE_NETWORKING
netplay_driver_ctl(RARCH_NETPLAY_CTL_RESET, NULL);
#endif
/* Recalibrate frame delay target */

View File

@ -8384,7 +8384,7 @@ bool core_unserialize(retro_ctx_serialize_info_t *info)
if (!info || !runloop_st->current_core.retro_unserialize(info->data_const, info->size))
return false;
#if HAVE_NETWORKING
#ifdef HAVE_NETWORKING
netplay_driver_ctl(RARCH_NETPLAY_CTL_LOAD_SAVESTATE, info);
#endif