From e796716f57998bf64d8453b2ee500027b60e1faa Mon Sep 17 00:00:00 2001 From: Bernhard Schelling <14200249+schellingb@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:23:28 +0900 Subject: [PATCH] Netplay netpacket interface fix "Sort Save States into Folders" settings (#16019) Before this fix with the folder setting enabled a core using the netpacket interface would append the sort folder name twice thus breaking existing save states --- network/netplay/netplay_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c index a683041539fd..c53b81f4e7e9 100644 --- a/network/netplay/netplay_frontend.c +++ b/network/netplay/netplay_frontend.c @@ -9376,7 +9376,7 @@ bool netplay_driver_ctl(enum rarch_netplay_ctl_state state, void *data) /* reset savefile dir as core_netpacket_interface affects it */ runloop_path_set_redirect(config_get_ptr(), dir_get_ptr(RARCH_DIR_SAVEFILE), - dir_get_ptr(RARCH_DIR_CURRENT_SAVESTATE)); + dir_get_ptr(RARCH_DIR_SAVESTATE)); } break;