mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2025-02-08 23:19:44 +01:00
Support AFS2 type 2
This commit is contained in:
parent
567d3b9233
commit
350086849e
@ -53,7 +53,7 @@ namespace SonicAudioLib.Archives
|
||||
uint information = DataStream.ReadUInt32(source);
|
||||
|
||||
uint type = information & 0xFF;
|
||||
if (type != 1)
|
||||
if (type != 1 && type != 2)
|
||||
{
|
||||
throw new InvalidDataException($"Unknown AFS2 type ({type}). Please report this error with the file(s).");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user