Skip to content

Commit

Permalink
fix struct name under msvc, fix define typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pivotiiii committed Apr 28, 2024
1 parent 4af695a commit 18c5f56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nsui_banner_fixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int main(int argc, char* argv[])
set.bin = argv[0];
set.cwd = fs::current_path();

#ifdef _Win32
#ifdef _WIN32
set.dstool = set.bin.parent_path() / "tools" / "3dstool.exe";
set.ctrtool = set.bin.parent_path() / "tools" / "ctrtool.exe";
set.makerom = set.bin.parent_path() / "tools" / "makerom.exe";
Expand All @@ -137,14 +137,14 @@ int main(int argc, char* argv[])
return 0;
}

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

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

0 comments on commit 18c5f56

Please sign in to comment.