Switch impl progress

This commit is contained in:
Wojtek Figat
2021-03-09 19:18:40 +01:00
parent f82117c6fb
commit e09f4eb6dc
4 changed files with 9 additions and 5 deletions

View File

@@ -47,6 +47,8 @@ public class Audio : EngineModule
useOpenAL = true;
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;
break;
default: throw new InvalidPlatformException(options.Platform.Target);