mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 22:36:59 +00:00
[ci skip] chore: Fix usage of var
This commit is contained in:
parent
f46577af58
commit
5b3b907fd2
18 changed files with 83 additions and 82 deletions
|
|
@ -447,9 +447,9 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
_virtualFileSystem = virtualFileSystem;
|
||||
_contentManager = contentManager;
|
||||
|
||||
if (gameIconData != null && gameIconData.Length > 0)
|
||||
if (gameIconData is { Length: > 0 })
|
||||
{
|
||||
using var ms = new MemoryStream(gameIconData);
|
||||
using MemoryStream ms = new(gameIconData);
|
||||
_gameIcon = new Bitmap(ms);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue