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)
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
|
||||
// TODO: Remove once we no longer need to initialize it externally.
|
||||
HandleTable = new KHandleTable();
|
||||
|
||||
_threads = new LinkedList<KThread>();
|
||||
_threads = [];
|
||||
|
||||
Debugger = new HleProcessDebugger(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user