Add error log output when max retried reached

This commit is contained in:
Martin Bai 2025-12-25 14:08:34 +00:00
parent 48adca40f5
commit c29c68ec42

View file

@ -155,6 +155,11 @@ namespace Ryujinx.Graphics.Vulkan.Queries
}
}
if (iterations >= MaxQueryRetries)
{
Logger.Error?.Print(LogClass.Gpu, $"Error: Query result {_type} timed out. Took more than {MaxQueryRetries} tries.");
}
return data;
}