mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
ObjectDisposedException.ThrowIf
This commit is contained in:
parent
79d9c5a083
commit
257df61a2e
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue