Skip to content

Commit

Permalink
fix include case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
pivotiiii committed Apr 28, 2024
1 parent dbf2fca commit ef32fb6
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions src/nsui_banner_fixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <thread>
#include <vector>

#include <tclap/Cmdline.h>
#include <tclap/CmdLine.h>

#include "Game.hpp"
#include "Settings.hpp"
Expand Down Expand Up @@ -145,9 +145,26 @@ int main(int argc, char* argv[])
return 0;
}

struct resultS {
fs::path cia;
bool result;
};
std::vector<struct resultS> results;

for (const auto &path : cia_paths) {
Game(path, set).fix_banner();
struct resultS res = {path, false};
res.result = Game(path, set).fix_banner();
results.push_back(res);
}

for (const auto &res : results) {
if (res.result == false) {
std::cerr << "ERROR: There was a problem processing " << res.cia << "\n";
return 1;
}
}

pause_if_double_clicked();

return 0;
}

0 comments on commit ef32fb6

Please sign in to comment.