Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Aug 14, 2024
1 parent 4c607fd commit 4a90c8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Zen.Desktop.Host/Infrastructure/Host.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private void MenuFinished(MenuResult result, object arguments)

break;

case MenuResult.SoundOn:
case MenuResult.SoundPortAudio:
_motherboard.Sound = true;
AppSettings.Instance.Sound = true;
AppSettings.Instance.Save();
Expand Down
2 changes: 1 addition & 1 deletion src/Zen.Desktop.Host/Infrastructure/Menu/MenuResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public enum MenuResult
SaveState,
LoadState,
ChangeScale,
SoundOn,
SoundPortAudio,
SoundOff,
VisualisationOff,
VisualisationWaveform,
Expand Down
2 changes: 1 addition & 1 deletion src/Zen.Desktop.Host/Infrastructure/Menu/SoundMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override (MenuResult Result, MenuBase NewMenu, object Arguments) ItemSele
return (MenuResult.SoundOff, null, null);

case 2:
return (MenuResult.SoundOn, null, null);
return (MenuResult.SoundPortAudio, null, null);

default:
return (MenuResult.NewMenu, new MainMenu(), null);
Expand Down

0 comments on commit 4a90c8c

Please sign in to comment.