mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-03 14:36:26 +02:00
misc: chore: [ci skip] Use explicit types & target-typed new
This commit is contained in:
parent
faacec9801
commit
6ab899f621
4 changed files with 15 additions and 17 deletions
|
@ -144,17 +144,15 @@ namespace ARMeilleure.Translation.PTC
|
|||
|
||||
public List<ulong> GetBlacklistedFunctions()
|
||||
{
|
||||
List<ulong> funcs = new List<ulong>();
|
||||
List<ulong> funcs = [];
|
||||
|
||||
foreach (var profiledFunc in ProfiledFuncs)
|
||||
foreach ((ulong ptr, FuncProfile funcProfile) in ProfiledFuncs)
|
||||
{
|
||||
if (profiledFunc.Value.Blacklist)
|
||||
{
|
||||
if (!funcs.Contains(profiledFunc.Key))
|
||||
{
|
||||
funcs.Add(profiledFunc.Key);
|
||||
}
|
||||
}
|
||||
if (!funcProfile.Blacklist)
|
||||
continue;
|
||||
|
||||
if (!funcs.Contains(ptr))
|
||||
funcs.Add(ptr);
|
||||
}
|
||||
|
||||
return funcs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue