Cleanup LibRyujinx and add more verbose logging

This commit is contained in:
TSR Berry 2023-07-22 07:27:13 +02:00 committed by Emmanuel Hansen
parent ee4e18ff0d
commit 300b23cf9b
6 changed files with 155 additions and 128 deletions

View file

@ -2,12 +2,8 @@
using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.SystemState;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace LibRyujinx
{
@ -27,7 +23,7 @@ namespace LibRyujinx
bool enableDockedMode,
bool enablePtc,
bool enableInternetAccess,
string timeZone,
string? timeZone,
bool ignoreMissingServices)
{
if (SwitchDevice == null)
@ -66,7 +62,7 @@ namespace LibRyujinx
return (isXci ? emulationContext?.LoadXci(stream) : emulationContext.LoadNsp(stream)) ?? false;
}
public static bool LoadApplication(string path)
public static bool LoadApplication(string? path)
{
var emulationContext = SwitchDevice.EmulationContext;