Archived
1
0
forked from MeloNX/MeloNX

android - fix rebase

This commit is contained in:
Emmanuel Hansen 2024-02-25 22:06:54 +00:00
parent 5fa2f30ac6
commit 896851e909
5 changed files with 6 additions and 8 deletions

View File

@ -663,13 +663,13 @@ namespace LibRyujinx
{
if (SwitchDevice is { } switchDevice)
{
switchDevice.HostUiHandler = new AndroidUiHandler();
switchDevice.HostUiHandler = new AndroidUIHandler();
}
}
public static void WaitUiHandler()
{
if (SwitchDevice?.HostUiHandler is AndroidUiHandler uiHandler)
if (SwitchDevice?.HostUiHandler is AndroidUIHandler uiHandler)
{
uiHandler.Wait();
}
@ -677,7 +677,7 @@ namespace LibRyujinx
public static void StopUiHandlerWait()
{
if (SwitchDevice?.HostUiHandler is AndroidUiHandler uiHandler)
if (SwitchDevice?.HostUiHandler is AndroidUIHandler uiHandler)
{
uiHandler.Set();
}
@ -685,7 +685,7 @@ namespace LibRyujinx
public static void SetUiHandlerResponse(bool isOkPressed, long input)
{
if (SwitchDevice?.HostUiHandler is AndroidUiHandler uiHandler)
if (SwitchDevice?.HostUiHandler is AndroidUIHandler uiHandler)
{
uiHandler.SetResponse(isOkPressed, input);
}

View File

@ -59,7 +59,6 @@ namespace LibRyujinx
{
var xPtr = Marshal.StringToHGlobalAnsi(x);
byte* xp = (byte*)xPtr;
LibRyujinx.debug_break(0);
try
{
nint ptr = default;

View File

@ -28,6 +28,6 @@ namespace Ryujinx.Common
public static bool IsFlatHubBuild => IsValid && ReleaseChannelOwner.Equals(FlatHubChannelOwner);
public static string Version => SystemInfo.SystemInfo.IsBionic ? "Android_1.0" : OperatingSystem.IsIOS() ? "iOS" : IsValid ? BuildVersion : !RuntimeFeature.IsDynamicCodeCompiled ? "libryujinx" : Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
public static string Version => PlatformInfo.IsBionic ? "Android_1.0" : OperatingSystem.IsIOS() ? "iOS" : IsValid ? BuildVersion : !RuntimeFeature.IsDynamicCodeCompiled ? "libryujinx" : Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
}
}

View File

@ -1,4 +1,3 @@
using Ryujinx.Cpu.Jit;
using Ryujinx.Cpu.Signal;
using Ryujinx.Common;
using Ryujinx.Memory;

View File

@ -171,4 +171,4 @@ namespace Ryujinx.Cpu.Nce
_context.Dispose();
}
}
}
}