Skip to content

Commit

Permalink
fix the final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alucryd committed Dec 29, 2024
1 parent 371aab0 commit ff663d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sort_roms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,8 @@ async fn compute_new_romfile_path<P: AsRef<Path>>(
}
}

// arcade and jbfolder in subdirectories
if system.arcade || game.jbfolder {
// arcade and jbfolder in subdirectories unless they are archives
if system.arcade && !ARCHIVE_EXTENSIONS.contains(&extension) || game.jbfolder {
new_romfile_path = new_romfile_path.join(&game.name);
}

Expand Down

0 comments on commit ff663d6

Please sign in to comment.