mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 21:36:25 +02:00
Replace "List.ForEach" for "foreach" (#6783)
* Replace "List.ForEach" for "foreach" * dotnet format * Update Ptc.cs * Update GpuContext.cs
This commit is contained in:
parent
ab12fbe963
commit
a23d8cb92f
2 changed files with 16 additions and 4 deletions
|
@ -395,8 +395,14 @@ namespace Ryujinx.Graphics.Gpu
|
|||
{
|
||||
Renderer.CreateSync(SyncNumber, strict);
|
||||
|
||||
SyncActions.ForEach(action => action.SyncPreAction(syncpoint));
|
||||
SyncpointActions.ForEach(action => action.SyncPreAction(syncpoint));
|
||||
foreach (var action in SyncActions)
|
||||
{
|
||||
action.SyncPreAction(syncpoint);
|
||||
}
|
||||
foreach (var action in SyncpointActions)
|
||||
{
|
||||
action.SyncPreAction(syncpoint);
|
||||
}
|
||||
|
||||
SyncNumber++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue