Skip to content

Commit

Permalink
add dmg display mode to new gb core (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpannella authored Jan 5, 2024
1 parent 7bdc65d commit 3c36547
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,12 +574,13 @@ public async Task ReplaceCheck()

public async Task AddDisplayModes()
{
var info = this.getConfig();
var video = await GetVideoConfig();
List<Analogue.Cores.Video.DisplayMode> all = new List<Analogue.Cores.Video.DisplayMode>();
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});
}
Expand Down

0 comments on commit 3c36547

Please sign in to comment.