Revert "don't reserve branch frame savestates"

This reverts commit 8d066ff295.
This commit is contained in:
CasualPokePlayer 2025-04-11 06:45:06 -07:00
parent e672cc4cd8
commit 48c545a063
1 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,8 @@ namespace BizHawk.Client.Common
// Why the frame before?
// because we always navigate to the frame before and emulate 1 frame so that we ensure a proper frame buffer on the screen
// users want instant navigation to markers, so to do this, we need to reserve the frame before the marker, not the marker itself
return Markers.Exists(m => m.Frame - 1 == frame);
return Markers.Exists(m => m.Frame - 1 == frame)
|| Branches.Any(b => b.Frame == frame); // Branches should already be in the reserved list, but it doesn't hurt to check
}
public void Dispose()