mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-04 06:28:03 +00: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:
parent
e0b19decca
commit
33acec8263
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user