feat: Add soundtrack name to conversion progress bar, add link to xboxdevwiki
This commit is contained in:
parent
5fd7328d65
commit
83ef0e0c21
1 changed files with 2 additions and 6 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue