1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-10-03 04:35:50 -05:00

Change shader cache init wait method (#6131)

* Change shader cache init wait method

* Make field readonly
This commit is contained in:
gdkchan
2024-01-18 14:17:38 -03:00
committed by GitHub
parent 2dbbc9bc05
commit 870d9599cc
11 changed files with 20 additions and 23 deletions

View File

@@ -57,6 +57,8 @@ namespace Ryujinx.HLE.HOS
public void Execute(IExecutionContext context, ulong codeAddress)
{
// We must wait until shader cache is loaded, among other things, before executing CPU code.
_gpuContext.WaitUntilGpuReady();
_cpuContext.Execute(context, codeAddress);
}