Savestates: Fixup

This commit is contained in:
Eladash 2024-04-13 19:03:39 +03:00 committed by Elad Ashkenazi
parent 1111c1952b
commit fba1db29b3
2 changed files with 21 additions and 2 deletions

View file

@ -77,6 +77,11 @@ struct avc2_settings
u8 video_stream_sharing = 0;
u32 total_video_bitrate = 0;
static bool saveable(bool is_writing) noexcept
{
return GET_SERIALIZATION_VERSION(cellSysutil) != 0;
}
avc2_settings(utils::serial& ar) noexcept
{
[[maybe_unused]] const s32 version = GET_SERIALIZATION_VERSION(cellSysutil);