Skip to content

Commit

Permalink
hia: Fix Window icon loading
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Dec 11, 2024
1 parent 6f56690 commit 12a506a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified src/Ryujinx/Headless/Ryujinx.bmp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Ryujinx/Headless/WindowBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void Initialize(Switch device, List<InputConfig> inputConfigs, bool enabl

private void SetWindowIcon()
{
Stream iconStream = typeof(WindowBase).Assembly.GetManifestResourceStream("Ryujinx.Headless.SDL2.Ryujinx.bmp");
Stream iconStream = typeof(WindowBase).Assembly.GetManifestResourceStream("Ryujinx.Ryujinx.bmp");
byte[] iconBytes = new byte[iconStream!.Length];

if (iconStream.Read(iconBytes, 0, iconBytes.Length) != iconBytes.Length)
Expand Down

0 comments on commit 12a506a

Please sign in to comment.