mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
string-view-ify stuff
This commit is contained in:
1 parent
6732d54742
commit
86fcdeeb25
3 files changed
+76
-54
No files matched your search
@@ -977,11 +977,12 @@ void DrawHLEModules(ImConfig &config) {
|
||||
}
|
||||
|
||||
std::sort(modules.begin(), modules.end(), [](const HLEModule* a, const HLEModule* b) {
|
||||
return std::strcmp(a->name, b->name) < 0;
|
||||
return a->name < b->name;
|
||||
});
|
||||
|
||||
std::string label;
|
||||
for (auto mod : modules) {
|
||||
if (ImGui::TreeNode(mod->name)) {
|
||||
label = mod->name;
|
||||
if (ImGui::TreeNode(label.c_str())) {
|
||||
for (int j = 0; j < mod->numFunctions; j++) {
|
||||
auto &func = mod->funcTable[j];
|
||||
ImGui::Text("%s(%s)", func.name, func.argmask);
|
||||
|
||||
Reference in new issue
Block a user