diff --git a/retroarch.c b/retroarch.c index ec88627267..20a26bc095 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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 */ diff --git a/runloop.c b/runloop.c index 36b3f58b65..b5789da92e 100644 --- a/runloop.c +++ b/runloop.c @@ -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