mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-21 10:00:54 -05:00
misc: chore: Use collection expressions in HLE project
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
||||
{
|
||||
_owner = owner;
|
||||
|
||||
_images = new List<Image>();
|
||||
_images = [];
|
||||
}
|
||||
|
||||
public string GetGuestStackTrace(KThread thread)
|
||||
@@ -414,7 +414,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
||||
ulong strTblAddr = textOffset + strTab;
|
||||
ulong symTblAddr = textOffset + symTab;
|
||||
|
||||
List<ElfSymbol> symbols = new();
|
||||
List<ElfSymbol> symbols = [];
|
||||
|
||||
while (symTblAddr < strTblAddr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user