diff options
author | Liam <byteslice@airmail.cc> | 2024-01-03 00:26:53 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-30 02:17:09 +0100 |
commit | 3155f4e96d10904f4a207e465f20fb4b25043f5c (patch) | |
tree | 849388480f5b7bb17f07a259b3f3661eeca99f61 /src/yuzu_cmd/yuzu.cpp | |
parent | am: re-namespace frontend applets to frontend directory (diff) | |
download | yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.gz yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.bz2 yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.lz yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.xz yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.tar.zst yuzu-3155f4e96d10904f4a207e465f20fb4b25043f5c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 6 |
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: |