feat: Add soundtrack name to conversion progress bar, add link to xboxdevwiki

This commit is contained in:
LoicBersier 2025-07-30 22:20:26 +02:00
parent 5fd7328d65
commit 83ef0e0c21

View file

@ -5,15 +5,11 @@ use zerocopy::TryFromBytes;
pub struct MusicFile { pub struct MusicFile {
pub path: PathBuf, pub path: PathBuf,
pub soundtrack_index: u32, pub soundtrack_index: u32,
pub soundtrack_name: String,
pub index: u32, pub index: u32,
} }
#[derive(Debug, TryFromBytes)] // https://xboxdevwiki.net/Soundtracks#ST.DB
#[repr(C)]
pub struct Database {
pub header: Header,
pub soundtrack: Soundtrack,
}
#[derive(Debug, TryFromBytes)] #[derive(Debug, TryFromBytes)]
#[repr(C)] #[repr(C)]