mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
Merge branch 'unscriptedrealitytv' into 'master'
Don't try to show unallocated or uninitialized profiling data See merge request OpenMW/openmw!4188
This commit is contained in:
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…
x
Reference in New Issue
Block a user