Skip to content

Commit

Permalink
Fix core ESH display
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Jun 12, 2024
1 parent 32b1540 commit 70ce9ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pluginlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1139,10 +1139,10 @@ void PluginList::generatePluginIndexes()
}
}
for (auto pluginIndex : coreMediumPlugins) {
int ESHpos = 254 + ((numESHs + 1) / 4096);
int ESHpos = 253 + ((numESHs + 1) / 4096);
m_ESPs[pluginIndex].index = QString("%1:%2")
.arg(ESHpos, 2, 16, QChar('0'))
.arg(numESHs % 4096, 3, 16, QChar('0'))
.arg(numESHs % 256, 2, 16, QChar('0'))
.toUpper();
++numESHs;
}
Expand Down

0 comments on commit 70ce9ef

Please sign in to comment.