Merge branch 'unscriptedrealitytv' into 'master'

Don't try to show unallocated or uninitialized profiling data

See merge request OpenMW/openmw!4188
pull/3236/head
psi29a 6 months ago
commit b8d861ca16

@ -864,10 +864,7 @@ namespace MWLua
else if (selectedPtr.isEmpty())
out << std::setw(valueW * 2) << "NA (not selected) ";
else if (!selectedScripts || !selectedScripts->hasScript(i))
{
out << std::setw(valueW) << "-";
outMemSize(selectedStats[i].mMemoryUsage);
}
out << std::setw(valueW * 2) << "NA";
else
{
out << std::setw(valueW) << static_cast<int64_t>(selectedStats[i].mAvgInstructionCount);

Loading…
Cancel
Save