diff --git a/src/models/Core.cs b/src/models/Core.cs index 531ddd08..4db0b1b0 100644 --- a/src/models/Core.cs +++ b/src/models/Core.cs @@ -574,12 +574,13 @@ public async Task ReplaceCheck() public async Task AddDisplayModes() { + var info = this.getConfig(); var video = await GetVideoConfig(); List all = new List(); foreach(string id in allModes) { all.Add(new Analogue.Cores.Video.DisplayMode{id = id}); } - if(this.identifier == "Spiritualized.GB" || this.identifier == "Spiritualized.GBC") { + if(info.metadata.platform_ids.Contains("gb")) { foreach(string id in gbModes) { all.Add(new Analogue.Cores.Video.DisplayMode{id = id}); }