Skip to content

Commit

Permalink
Debugger: Fixed missing SNES labels in SGB mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Jul 11, 2023
1 parent 642514c commit 71d9853
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions UI/Debugger/Labels/DefaultLabelHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ public static void SetDefaultLabels()
HashSet<CpuType> cpuTypes = EmuApi.GetRomInfo().CpuTypes;
if(cpuTypes.Contains(CpuType.Gameboy)) {
SetGameboyDefaultLabels();
} else if(cpuTypes.Contains(CpuType.Nes)) {
}
if(cpuTypes.Contains(CpuType.Nes)) {
SetDefaultNesLabels();
} else if(cpuTypes.Contains(CpuType.Snes)) {
}
if(cpuTypes.Contains(CpuType.Snes)) {
SetSnesDefaultLabels();
} else if(cpuTypes.Contains(CpuType.Pce)) {
}
if(cpuTypes.Contains(CpuType.Pce)) {
SetPceDefaultLabels();
}
}
Expand Down

0 comments on commit 71d9853

Please sign in to comment.