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
This commit is contained in:
Bernhard Schelling 2023-12-21 09:23:28 +09:00 committed by GitHub
parent 3194dc9d65
commit e796716f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;