diff options
| author | Mary <me@thog.eu> | 2020-11-17 22:40:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-17 22:40:19 +0100 |
| commit | 863edae3283d92ba94a4b68c673ad3bff458b6dd (patch) | |
| tree | 30d46bc664cfce64f3b2823c2e11a46796a2385b /Ryujinx.Tests/Cpu | |
| parent | cc60ba9d22ecc582206b61074a0fd6ee2c987ed1 (diff) | |
shader cache: Fix Linux boot issues (#1709)
* shader cache: Fix Linux boot issues
This rollback the init logic back to previous state, and replicate the
way PTC handle initialization.
* shader cache: set default state of ready for translation event to false
* Fix cpu unit tests
Diffstat (limited to 'Ryujinx.Tests/Cpu')
| -rw-r--r-- | Ryujinx.Tests/Cpu/CpuTest.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Tests/Cpu/CpuTest32.cs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Ryujinx.Tests/Cpu/CpuTest.cs b/Ryujinx.Tests/Cpu/CpuTest.cs index e0778e05..24a60cb5 100644 --- a/Ryujinx.Tests/Cpu/CpuTest.cs +++ b/Ryujinx.Tests/Cpu/CpuTest.cs @@ -1,4 +1,5 @@ using ARMeilleure.State; +using ARMeilleure.Translation; using NUnit.Framework; using Ryujinx.Cpu; using Ryujinx.Memory; @@ -54,6 +55,7 @@ namespace Ryujinx.Tests.Cpu _memory.Map(CodeBaseAddress, 0, Size * 2); _context = CpuContext.CreateExecutionContext(); + Translator.IsReadyForTranslation.Set(); _cpuContext = new CpuContext(_memory); diff --git a/Ryujinx.Tests/Cpu/CpuTest32.cs b/Ryujinx.Tests/Cpu/CpuTest32.cs index ca966840..910ae2e0 100644 --- a/Ryujinx.Tests/Cpu/CpuTest32.cs +++ b/Ryujinx.Tests/Cpu/CpuTest32.cs @@ -1,4 +1,5 @@ using ARMeilleure.State; +using ARMeilleure.Translation; using NUnit.Framework; using Ryujinx.Cpu; using Ryujinx.Memory; @@ -52,6 +53,7 @@ namespace Ryujinx.Tests.Cpu _context = CpuContext.CreateExecutionContext(); _context.IsAarch32 = true; + Translator.IsReadyForTranslation.Set(); _cpuContext = new CpuContext(_memory); |
