mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 18:32:24 -07:00
Apply suggestions from code review
Address gdkchan's feedback Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
@@ -22,6 +22,8 @@ namespace ARMeilleure.Translation
|
||||
{
|
||||
public class Translator
|
||||
{
|
||||
private const int CountTableCapacity = 4 * 1024 * 1024;
|
||||
|
||||
private long _nextUpdate;
|
||||
private long _requestAdded;
|
||||
private long _requestRemoved;
|
||||
@@ -61,7 +63,7 @@ namespace ARMeilleure.Translation
|
||||
_backgroundTranslatorEvent = new AutoResetEvent(false);
|
||||
_backgroundTranslatorLock = new ReaderWriterLock();
|
||||
|
||||
CountTable = new EntryTable<uint>(capacity: 4 * 1024 * 1024);
|
||||
CountTable = new EntryTable<uint>(CountTableCapacity);
|
||||
|
||||
JitCache.Initialize(allocator);
|
||||
|
||||
|
Reference in New Issue
Block a user