mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-06 07:36:26 +02:00
Add Firmware keyword in log if it is indeed firmware (#343)
Co-authored-by: LotP1 <rasmus.stilling.pedersen1@gmail.com>
This commit is contained in:
parent
0bc1eddaeb
commit
d00754477e
7 changed files with 50 additions and 15 deletions
|
@ -3,6 +3,8 @@ using Avalonia.Controls;
|
|||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Input;
|
||||
using Avalonia.Threading;
|
||||
using LibHac.Common;
|
||||
using LibHac.Ns;
|
||||
using LibHac.Tools.FsSystem;
|
||||
using Ryujinx.Audio.Backends.Dummy;
|
||||
using Ryujinx.Audio.Backends.OpenAL;
|
||||
|
@ -670,7 +672,7 @@ namespace Ryujinx.Ava
|
|||
_cursorState = CursorStates.ForceChangeCursor;
|
||||
}
|
||||
|
||||
public async Task<bool> LoadGuestApplication()
|
||||
public async Task<bool> LoadGuestApplication(BlitStruct<ApplicationControlProperty>? customNacpData = null)
|
||||
{
|
||||
InitializeSwitchInstance();
|
||||
MainWindow.UpdateGraphicsConfig();
|
||||
|
@ -740,7 +742,7 @@ namespace Ryujinx.Ava
|
|||
{
|
||||
Logger.Info?.Print(LogClass.Application, "Loading as Firmware Title (NCA).");
|
||||
|
||||
if (!Device.LoadNca(ApplicationPath))
|
||||
if (!Device.LoadNca(ApplicationPath, customNacpData))
|
||||
{
|
||||
Device.Dispose();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue