This commit is contained in:
Wojtek Figat
2021-03-16 16:07:08 +01:00
parent b3887c0874
commit de02131d0a

View File

@@ -48,8 +48,7 @@ public class Audio : EngineModule
break;
case TargetPlatform.Switch:
options.SourcePaths.Add(Path.Combine(Globals.EngineRoot, "Source", "Platforms", "Switch", "Engine", "Audio"));
//options.CompileEnv.PreprocessorDefinitions.Add("AUDIO_API_SWITCH"); // TODO: impl audio on switch
useNone = true;
options.CompileEnv.PreprocessorDefinitions.Add("AUDIO_API_SWITCH");
break;
default: throw new InvalidPlatformException(options.Platform.Target);
}