mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Actually, don't ignore the first section of postshader ini files - if there's no comment there, it won't exist.
This commit is contained in:
1 parent
e0b19decca
commit
33acec8263
1 file changed
+1
-2
@@ -67,8 +67,7 @@ void LoadPostShaderInfo(std::vector<std::string> directories) {
|
||||
continue;
|
||||
|
||||
// Alright, let's loop through the sections and see if any is a shader.
|
||||
// Ignore the first section (which only consists of the comments before the first real one).
|
||||
for (size_t i = 1; i < ini.Sections().size(); i++) {
|
||||
for (size_t i = 0; i < ini.Sections().size(); i++) {
|
||||
IniFile::Section §ion = ini.Sections()[i];
|
||||
if (section.Exists("Fragment") && section.Exists("Vertex")) {
|
||||
// Valid shader!
|
||||
|
||||
Reference in new issue
Block a user