mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-03 01:32:24 -07:00
Make Counter a generic & use a 32-bit counter instead
This commit is contained in:
@@ -8,12 +8,12 @@ namespace ARMeilleure.Translation
|
||||
{
|
||||
private readonly GuestFunction _func; // Ensure that this delegate will not be garbage collected.
|
||||
|
||||
public Counter CallCounter { get; }
|
||||
public Counter<uint> CallCounter { get; }
|
||||
public ulong GuestSize { get; }
|
||||
public bool HighCq { get; }
|
||||
public IntPtr FuncPtr { get; }
|
||||
|
||||
public TranslatedFunction(GuestFunction func, Counter callCounter, ulong guestSize, bool highCq)
|
||||
public TranslatedFunction(GuestFunction func, Counter<uint> callCounter, ulong guestSize, bool highCq)
|
||||
{
|
||||
_func = func;
|
||||
CallCounter = callCounter;
|
||||
|
Reference in New Issue
Block a user