[Netplay] Disable savestates on stateless mode (#13634)

Stateless mode is currently not working correctly and still using savestates.
This commit is contained in:
Cthulhu-throwaway 2022-02-18 13:08:18 -03:00 committed by GitHub
parent f0d8af0d34
commit b0928cd0f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6762,6 +6762,9 @@ netplay_t *netplay_new(const char *server, const char *mitm, uint16_t port,
NETPLAY_CONNECTION_SPECTATING :
NETPLAY_CONNECTION_NONE;
if (netplay->stateless_mode)
netplay->quirks |= NETPLAY_QUIRK_NO_SAVESTATES;
if (netplay->is_server)
{
netplay->connections = NULL;