summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-01-31 17:25:28 +0100
committerGitHub <noreply@github.com>2024-01-31 17:25:28 +0100
commit7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c (patch)
tree24b2ed412f2683c8460839778ea7761d052bc38f /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #12858 from liamwhite/non-blocking (diff)
parentam: push storage from error applet with non-zero size (diff)
downloadyuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar.gz
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar.bz2
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar.lz
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar.xz
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.tar.zst
yuzu-7cc7d027f74b5bffc0b3f8f3a6c3110999c7cc4c.zip
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index c39ace2ec..3b321dad1 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -26,6 +26,7 @@
#include "core/crypto/key_manager.h"
#include "core/file_sys/registered_cache.h"
#include "core/file_sys/vfs/vfs_real.h"
+#include "core/hle/service/am/applet_manager.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/loader/loader.h"
#include "core/telemetry_session.h"
@@ -366,7 +367,10 @@ int main(int argc, char** argv) {
system.GetFileSystemController().CreateFactories(*system.GetFilesystem());
system.GetUserChannel().clear();
- const Core::SystemResultStatus load_result{system.Load(*emu_window, filepath)};
+ Service::AM::FrontendAppletParameters load_parameters{
+ .applet_id = Service::AM::AppletId::Application,
+ };
+ const Core::SystemResultStatus load_result{system.Load(*emu_window, filepath, load_parameters)};
switch (load_result) {
case Core::SystemResultStatus::ErrorGetLoader: