Skip to content

Commit

Permalink
minor windows path format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
N4gtan committed Sep 12, 2024
1 parent 6821809 commit d9c2006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

Add `sudo` to the install command if necessary.

The default installation path is `C:\Program Files\mkpsxiso\bin` on Windows or `/usr/local/bin` on Linux. You can change it to any directory by passing `--install-prefix` to the first command.
The default installation path is `C:\Program Files\mkpsxiso` on Windows or `/usr/local/bin` on Linux. You can change it to any directory by passing `--install-prefix` to the first command.

## Issues

Expand Down
2 changes: 1 addition & 1 deletion src/dumpsxiso/cue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CueFile parseCueFile(std::filesystem::path& inputFile) {
size_t lastQuote = line.rfind("\"");
filePath = inputFile.parent_path() / line.substr(firstQuote + 1, lastQuote - firstQuote - 1);
if (int64_t sectors = GetSize(filePath) / CD_SECTOR_SIZE; sectors < 1) {
printf("Error: Failed to get the file size for \"%s\"\n", filePath.filename().c_str());
printf("Error: Failed to get the file size for \"%s\"\n", filePath.filename().u8string().c_str());
exit(EXIT_FAILURE);
}
else {
Expand Down

0 comments on commit d9c2006

Please sign in to comment.