mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-28 11:33:06 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
5a7e8ba749
2 changed files with 16 additions and 4 deletions
|
@ -857,8 +857,14 @@ namespace ARMeilleure.Translation.PTC
|
||||||
|
|
||||||
Stopwatch sw = Stopwatch.StartNew();
|
Stopwatch sw = Stopwatch.StartNew();
|
||||||
|
|
||||||
threads.ForEach((thread) => thread.Start());
|
foreach (var thread in threads)
|
||||||
threads.ForEach((thread) => thread.Join());
|
{
|
||||||
|
thread.Start();
|
||||||
|
}
|
||||||
|
foreach (var thread in threads)
|
||||||
|
{
|
||||||
|
thread.Join();
|
||||||
|
}
|
||||||
|
|
||||||
threads.Clear();
|
threads.Clear();
|
||||||
|
|
||||||
|
|
|
@ -395,8 +395,14 @@ namespace Ryujinx.Graphics.Gpu
|
||||||
{
|
{
|
||||||
Renderer.CreateSync(SyncNumber, strict);
|
Renderer.CreateSync(SyncNumber, strict);
|
||||||
|
|
||||||
SyncActions.ForEach(action => action.SyncPreAction(syncpoint));
|
foreach (var action in SyncActions)
|
||||||
SyncpointActions.ForEach(action => action.SyncPreAction(syncpoint));
|
{
|
||||||
|
action.SyncPreAction(syncpoint);
|
||||||
|
}
|
||||||
|
foreach (var action in SyncpointActions)
|
||||||
|
{
|
||||||
|
action.SyncPreAction(syncpoint);
|
||||||
|
}
|
||||||
|
|
||||||
SyncNumber++;
|
SyncNumber++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue