mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-17 05:17:43 +01:00
Remove MusicManager/DisableSoundStreaming
This commit is contained in:
parent
9dd12f4a71
commit
c49fce4487
7 changed files with 1 additions and 96 deletions
|
|
@ -70,13 +70,6 @@ public partial class Mod
|
|||
.ToList();
|
||||
}
|
||||
|
||||
// Filter invalid files.
|
||||
// If audio streaming is not disabled, replacing .scd files crashes the game,
|
||||
// so only add those files if it is disabled.
|
||||
public static bool FilterFile( Utf8GamePath gamePath )
|
||||
=> !Penumbra.Config.DisableSoundStreaming
|
||||
&& gamePath.Path.EndsWith( '.', 's', 'c', 'd' );
|
||||
|
||||
private static IModGroup? LoadModGroup( FileInfo file, DirectoryInfo basePath )
|
||||
{
|
||||
if( !File.Exists( file.FullName ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue