forked from MeloNX/MeloNX
remove unused class
This commit is contained in:
parent
59c34f10aa
commit
c825ab4d6f
@ -22,6 +22,7 @@ namespace LibRyujinx.Android
|
||||
internal unsafe static class Interop
|
||||
{
|
||||
internal const string BaseClassName = "org/ryujinx/android/RyujinxNative";
|
||||
|
||||
private static JGlobalRef? _classId;
|
||||
private static ConcurrentDictionary<(string method, string descriptor), JMethodId> _methodCache = new ConcurrentDictionary<(string method, string descriptor), JMethodId>();
|
||||
private static (string name, string descriptor)[] _methods = new[]
|
||||
|
@ -7,10 +7,10 @@ using System;
|
||||
|
||||
using Rxmxnx.PInvoke;
|
||||
|
||||
namespace LibRyujinx.Jni;
|
||||
|
||||
internal static class JniHelper
|
||||
namespace LibRyujinx.Jni
|
||||
{
|
||||
internal static class JniHelper
|
||||
{
|
||||
public const Int32 JniVersion = 0x00010006; //JNI_VERSION_1_6;
|
||||
|
||||
public static JEnvRef? Attach(JavaVMRef javaVm, IReadOnlyFixedMemory<Byte> threadName, out Boolean newAttach)
|
||||
@ -67,7 +67,8 @@ internal static class JniHelper
|
||||
FindClassDelegate findClass = findClassPtr.GetUnsafeDelegate<FindClassDelegate>()!;
|
||||
JClassLocalRef jClass = findClass(jEnv, className.ValuePointer);
|
||||
|
||||
if (JniHelper.ExceptionCheck(jEnv)) return default;
|
||||
if (JniHelper.ExceptionCheck(jEnv))
|
||||
return default;
|
||||
|
||||
IntPtr newGlobalRefPtr = jInterface.NewGlobalRefPointer;
|
||||
NewGlobalRefDelegate newGlobalRef = newGlobalRefPtr.GetUnsafeDelegate<NewGlobalRefDelegate>()!;
|
||||
@ -139,7 +140,8 @@ internal static class JniHelper
|
||||
IntPtr exceptionCheckPtr = jInterface.ExceptionCheckPointer;
|
||||
ExceptionCheckDelegate exceptionCheck = exceptionCheckPtr.GetUnsafeDelegate<ExceptionCheckDelegate>()!;
|
||||
|
||||
if (!exceptionCheck(jEnv)) return false;
|
||||
if (!exceptionCheck(jEnv))
|
||||
return false;
|
||||
IntPtr exceptionDescribePtr = jInterface.ExceptionDescribePointer;
|
||||
IntPtr exceptionClearPtr = jInterface.ExceptionClearPointer;
|
||||
|
||||
@ -245,4 +247,5 @@ internal static class JniHelper
|
||||
using IReadOnlyFixedMemory<JValue>.IDisposable fArgs = args.AsMemory().GetFixedContext();
|
||||
callVoidMethod(jEnv, jObject, jMethodId, fArgs.ValuePointer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Common.SystemInfo
|
||||
{
|
||||
public class SystemInfo
|
||||
{
|
||||
//public static bool IsBionic { get; set; }
|
||||
|
||||
/* public static bool IsAnddroid()
|
||||
{
|
||||
// return OperatingSystem.IsAndroid() || IsBionic;
|
||||
}*/
|
||||
}
|
||||
}
|
@ -11,8 +11,8 @@ android {
|
||||
applicationId "org.ryujinx.android"
|
||||
minSdk 30
|
||||
targetSdk 34
|
||||
versionCode 10042
|
||||
versionName '1.0.42'
|
||||
versionCode 10044
|
||||
versionName '1.0.44'
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
Loading…
x
Reference in New Issue
Block a user