Rename my_vag to vag

This commit is contained in:
jaby 2024-11-03 21:34:04 +00:00
parent ac7346d957
commit 54a1ca08ea
4 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
pub mod my_vag;
pub mod vag;
pub mod xa;
use std::{env, path::PathBuf, process::Command};

View File

@ -24,7 +24,7 @@ enum SubCommands {
// === Internal Commands ===
Nothing,
SimpleTIM(reduced_tim::Arguments),
VAG(my_vag::Arguments),
VAG(vag::Arguments),
// === External Commands ===
XA(xa::Arguments),
@ -60,7 +60,7 @@ fn run_internal_conversion(cmd: CommandLine) -> Result<(), Error> {
match cmd.sub_command {
SubCommands::Nothing => nothing::copy(&mut input, dst_buffer),
SubCommands::SimpleTIM(args) => reduced_tim::convert(args, input, dst_buffer),
SubCommands::VAG(args) => audio::my_vag::convert(args, &cmd.output_file, input, dst_buffer),
SubCommands::VAG(args) => audio::vag::convert(args, &cmd.output_file, input, dst_buffer),
_ => Err(Error::from_str("External functions can not be called for internal conversion"))
}
};