Skip to content

Commit 6e10064

Browse files
committed
Use system display names in Multi-disk Bundler
1 parent e734c88 commit 6e10064

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/BizHawk.Client.EmuHawk/tools/MultiDiskBundler/MultiDiskBundler.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ public MultiDiskBundler()
3232
{
3333
InitializeComponent();
3434
Icon = ToolIcon;
35+
SystemDropDown.Format += (_, formatArgs) =>
36+
{
37+
var sysID = (string) formatArgs.ListItem;
38+
var dispName = EmulatorExtensions.SystemIDToDisplayName(sysID);
39+
formatArgs.Value = string.IsNullOrEmpty(dispName) ? sysID : dispName;
40+
};
3541
SystemDropDown.Items.AddRange([
3642
VSystemID.Raw.Amiga,
3743
VSystemID.Raw.AmstradCPC,

0 commit comments

Comments
 (0)