mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-02 10:59:12 +02:00
misc: chore: Android: Remove redundant qualifiers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Ryujinx.Common;
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Cpu.Nce
|
||||
@@ -11,7 +12,7 @@ namespace Ryujinx.Cpu.Nce
|
||||
|
||||
public static IntPtr GetCurrentThreadHandle()
|
||||
{
|
||||
if (OperatingSystem.IsLinux() || OperatingSystem.IsMacOS() || Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (OperatingSystem.IsLinux() || OperatingSystem.IsMacOS() || PlatformInfo.IsBionic)
|
||||
{
|
||||
return NceThreadPalUnix.GetCurrentThreadHandle();
|
||||
}
|
||||
@@ -23,7 +24,7 @@ namespace Ryujinx.Cpu.Nce
|
||||
|
||||
public static void SuspendThread(IntPtr handle)
|
||||
{
|
||||
if (Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (PlatformInfo.IsBionic)
|
||||
{
|
||||
NceThreadPalAndroid.SuspendThread(handle);
|
||||
}
|
||||
@@ -37,4 +38,4 @@ namespace Ryujinx.Cpu.Nce
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using Ryujinx.Common;
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
@@ -70,7 +71,7 @@ namespace Ryujinx.Cpu.Signal
|
||||
int result;
|
||||
SigAction old;
|
||||
|
||||
if (Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (PlatformInfo.IsBionic)
|
||||
{
|
||||
result = sigaction(SIGSEGV, IntPtr.Zero, out SigActionBionic tmp);
|
||||
|
||||
@@ -100,7 +101,7 @@ namespace Ryujinx.Cpu.Signal
|
||||
int result;
|
||||
SigAction old;
|
||||
|
||||
if (Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (PlatformInfo.IsBionic)
|
||||
{
|
||||
SigActionBionic sig = new()
|
||||
{
|
||||
@@ -187,7 +188,7 @@ namespace Ryujinx.Cpu.Signal
|
||||
{
|
||||
int result;
|
||||
|
||||
if (Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (PlatformInfo.IsBionic)
|
||||
{
|
||||
SigActionBionic sig = new()
|
||||
{
|
||||
@@ -235,7 +236,7 @@ namespace Ryujinx.Cpu.Signal
|
||||
|
||||
public static bool RestoreExceptionHandler(SigAction oldAction)
|
||||
{
|
||||
if (Ryujinx.Common.PlatformInfo.IsBionic)
|
||||
if (PlatformInfo.IsBionic)
|
||||
{
|
||||
SigActionBionic tmp = new SigActionBionic
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user