Misc: Loading old save state versions is unlikely

This commit is contained in:
Stenzek
2024-05-31 18:48:26 +10:00
parent c4bf5b4f2c
commit 723af4de3a
8 changed files with 12 additions and 12 deletions

View File

@ -390,7 +390,7 @@ bool Bus::DoState(StateWrapper& sw)
sw.Do(&g_spu_access_time);
sw.DoBytes(g_ram, g_ram_size);
if (sw.GetVersion() < 58)
if (sw.GetVersion() < 58) [[unlikely]]
{
WARNING_LOG("Overwriting loaded BIOS with old save state.");
sw.DoBytes(g_bios, BIOS_SIZE);