diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-01-18 14:17:38 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-18 14:17:38 -0300 |
| commit | 870d9599cc056e515dd63620fd10bf9fee4992ee (patch) | |
| tree | 419862e34e111e69c6bf5acdfb96f026e75c8729 /src/ARMeilleure/Translation | |
| parent | 2dbbc9bc05998baa94d7b1953d9e0ffc7f1651f8 (diff) | |
Change shader cache init wait method (#6131)
* Change shader cache init wait method
* Make field readonly
Diffstat (limited to 'src/ARMeilleure/Translation')
| -rw-r--r-- | src/ARMeilleure/Translation/Translator.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ARMeilleure/Translation/Translator.cs b/src/ARMeilleure/Translation/Translator.cs index 7f6a25b0..48c1a575 100644 --- a/src/ARMeilleure/Translation/Translator.cs +++ b/src/ARMeilleure/Translation/Translator.cs @@ -57,9 +57,6 @@ namespace ARMeilleure.Translation private Thread[] _backgroundTranslationThreads; private volatile int _threadCount; - // FIXME: Remove this once the init logic of the emulator will be redone. - public static readonly ManualResetEvent IsReadyForTranslation = new(false); - public Translator(IJitMemoryAllocator allocator, IMemoryManager memory, bool for64Bits) { _allocator = allocator; @@ -100,8 +97,6 @@ namespace ARMeilleure.Translation { if (Interlocked.Increment(ref _threadCount) == 1) { - IsReadyForTranslation.WaitOne(); - if (_ptc.State == PtcState.Enabled) { Debug.Assert(Functions.Count == 0); |
