mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-31 07:57:11 +02:00
Fix more warnings
This commit is contained in:
parent
a00ad022fd
commit
79d9c5a083
5 changed files with 21 additions and 5 deletions
|
@ -13,7 +13,6 @@ namespace Ryujinx.Cpu.LightningJit.State
|
|||
internal IntPtr NativeContextPtr => _nativeContext.BasePtr;
|
||||
|
||||
private bool _interrupted;
|
||||
|
||||
private readonly ICounter _counter;
|
||||
|
||||
public ulong Pc => _nativeContext.GetPc();
|
||||
|
@ -140,9 +139,15 @@ namespace Ryujinx.Cpu.LightningJit.State
|
|||
_nativeContext.SetCounter(0);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
_nativeContext.Dispose();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(disposing: true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue