Forgot to set the end variable here. Should stop it from crashing when this path is taken.
@@ -144,6 +144,7 @@ namespace Ryujinx.Graphics.Vulkan
i -= deleteCount;
firstMatch = -1;
+ end = list.Count;
}