mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix bug with empty themes showing up
This commit is contained in:
@@ -114,6 +114,11 @@ static void LoadThemeInfo(const std::vector<Path> &directories) {
|
||||
// Alright, let's loop through the sections and see if any is a theme.
|
||||
for (size_t i = 0; i < ini.Sections().size(); i++) {
|
||||
Section §ion = *(ini.Sections()[i].get());
|
||||
|
||||
if (section.name().empty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ThemeInfo info;
|
||||
section.Get("Name", &info.name, section.name().c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user