mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-27 16:47:11 +02:00
parent
417df486b1
commit
361d0c5632
622 changed files with 3080 additions and 2652 deletions
|
@ -359,7 +359,7 @@ namespace Ryujinx.Cpu.AppleHv
|
|||
|
||||
private static void ValidateEntriesCount(int count)
|
||||
{
|
||||
Debug.Assert(count >= 0 && count <= LevelCount, $"Entries count {count} is invalid.");
|
||||
Debug.Assert(count is >= 0 and <= LevelCount, $"Entries count {count} is invalid.");
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
@ -159,7 +159,7 @@ namespace Ryujinx.Cpu.AppleHv
|
|||
address = SynchronousException(memoryManager, ref vcpu);
|
||||
HvApi.hv_vcpu_set_reg(vcpu.Handle, HvReg.PC, address).ThrowOnError();
|
||||
}
|
||||
else if (reason == HvExitReason.Canceled || reason == HvExitReason.VTimerActivated)
|
||||
else if (reason is HvExitReason.Canceled or HvExitReason.VTimerActivated)
|
||||
{
|
||||
if (GetAndClearInterruptRequested())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue