forked from MeloNX/MeloNX
ObjectDisposedException.ThrowIf
This commit is contained in:
parent
689eadaece
commit
94bd78f48a
@ -63,10 +63,7 @@ namespace Ryujinx.Cpu.LightningJit
|
|||||||
|
|
||||||
public void Execute(State.ExecutionContext context, ulong address)
|
public void Execute(State.ExecutionContext context, ulong address)
|
||||||
{
|
{
|
||||||
if (_disposed)
|
ObjectDisposedException.ThrowIf(_disposed, this);
|
||||||
{
|
|
||||||
throw new ObjectDisposedException(nameof(Translator));
|
|
||||||
}
|
|
||||||
|
|
||||||
NativeInterface.RegisterThread(context, Memory, this);
|
NativeInterface.RegisterThread(context, Memory, this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user