mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Style and clarity nits.
This commit is contained in:
parent
51683661e5
commit
a636bac428
@ -984,8 +984,6 @@ struct retro_hw_render_context_negotiation_interface
|
||||
/* The core must spend some time initializing before serialization is
|
||||
* supported. */
|
||||
#define RETRO_SERIALIZATION_QUIRK_MUST_INITIALIZE (1 << 1)
|
||||
/* If MUST_INITIALIZE is set, this should also be set if initialization is
|
||||
* in progress. */
|
||||
/* Serialization size may change within a session. */
|
||||
#define RETRO_SERIALIZATION_QUIRK_CORE_VARIABLE_SIZE (1 << 2)
|
||||
/* Set by the frontend to acknowledge that it supports variable-sized
|
||||
@ -993,8 +991,8 @@ struct retro_hw_render_context_negotiation_interface
|
||||
#define RETRO_SERIALIZATION_QUIRK_FRONT_VARIABLE_SIZE (1 << 3)
|
||||
/* Serialized state can only be loaded during the same session. */
|
||||
#define RETRO_SERIALIZATION_QUIRK_SINGLE_SESSION (1 << 4)
|
||||
/* Serialized state cannot be loaded on a different architecture from the
|
||||
* one it was saved on. */
|
||||
/* Serialized state cannot be loaded on a different architecture from the one
|
||||
* it was saved on, typically due to endianness or word length issues. */
|
||||
#define RETRO_SERIALIZATION_QUIRK_ARCHITECTURE_DEPENDENT (1 << 5)
|
||||
|
||||
#define RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS 44
|
||||
|
@ -1439,16 +1439,16 @@ bool init_netplay(bool is_spectate, const char *server, unsigned port)
|
||||
|
||||
/* Map the core's quirks to our quirks */
|
||||
serialization_quirks = core_serialization_quirks();
|
||||
if ((serialization_quirks & ~((uint64_t) NETPLAY_QUIRK_MAP_UNDERSTOOD)))
|
||||
if (serialization_quirks & ~((uint64_t) NETPLAY_QUIRK_MAP_UNDERSTOOD))
|
||||
{
|
||||
/* Quirks we don't support! Just disable everything. */
|
||||
quirks |= NETPLAY_QUIRK_NO_SAVESTATES;
|
||||
}
|
||||
if ((serialization_quirks & NETPLAY_QUIRK_MAP_NO_SAVESTATES))
|
||||
if (serialization_quirks & NETPLAY_QUIRK_MAP_NO_SAVESTATES)
|
||||
quirks |= NETPLAY_QUIRK_NO_SAVESTATES;
|
||||
if ((serialization_quirks & NETPLAY_QUIRK_MAP_NO_TRANSMISSION))
|
||||
if (serialization_quirks & NETPLAY_QUIRK_MAP_NO_TRANSMISSION)
|
||||
quirks |= NETPLAY_QUIRK_NO_TRANSMISSION;
|
||||
if ((serialization_quirks & NETPLAY_QUIRK_MAP_INITIALIZATION))
|
||||
if (serialization_quirks & NETPLAY_QUIRK_MAP_INITIALIZATION)
|
||||
quirks |= NETPLAY_QUIRK_INITIALIZATION;
|
||||
|
||||
if (netplay_is_client)
|
||||
|
Loading…
x
Reference in New Issue
Block a user