mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-10-03 04:45:51 -05:00
Change shader cache init wait method (#6131)
* Change shader cache init wait method * Make field readonly
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using ARMeilleure.Translation;
|
||||
using Gtk;
|
||||
using LibHac.Common;
|
||||
using LibHac.Common.Keys;
|
||||
@@ -931,8 +930,6 @@ namespace Ryujinx.Ui
|
||||
|
||||
_deviceExitStatus.Reset();
|
||||
|
||||
Translator.IsReadyForTranslation.Reset();
|
||||
|
||||
Thread windowThread = new(CreateGameWindow)
|
||||
{
|
||||
Name = "GUI.WindowThread",
|
||||
|
@@ -1,4 +1,3 @@
|
||||
using ARMeilleure.Translation;
|
||||
using Gdk;
|
||||
using Gtk;
|
||||
using Ryujinx.Common;
|
||||
@@ -450,7 +449,6 @@ namespace Ryujinx.Ui
|
||||
{
|
||||
Device.Gpu.SetGpuThread();
|
||||
Device.Gpu.InitializeShaderCache(_gpuCancellationTokenSource.Token);
|
||||
Translator.IsReadyForTranslation.Set();
|
||||
|
||||
Renderer.Window.ChangeVSyncMode(Device.EnableDeviceVsync);
|
||||
|
||||
|
Reference in New Issue
Block a user