summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/CMakeLists.txt4
-rw-r--r--src/yuzu_cmd/yuzu.cpp6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt
index fbeba8813..ebd8fd738 100644
--- a/src/yuzu_cmd/CMakeLists.txt
+++ b/src/yuzu_cmd/CMakeLists.txt
@@ -28,8 +28,6 @@ add_executable(yuzu-cmd
28 yuzu.rc 28 yuzu.rc
29) 29)
30 30
31create_target_directory_groups(yuzu-cmd)
32
33target_link_libraries(yuzu-cmd PRIVATE common core input_common frontend_common) 31target_link_libraries(yuzu-cmd PRIVATE common core input_common frontend_common)
34target_link_libraries(yuzu-cmd PRIVATE glad) 32target_link_libraries(yuzu-cmd PRIVATE glad)
35if (MSVC) 33if (MSVC)
@@ -63,3 +61,5 @@ endif()
63if (YUZU_USE_PRECOMPILED_HEADERS) 61if (YUZU_USE_PRECOMPILED_HEADERS)
64 target_precompile_headers(yuzu-cmd PRIVATE precompiled_headers.h) 62 target_precompile_headers(yuzu-cmd PRIVATE precompiled_headers.h)
65endif() 63endif()
64
65create_target_directory_groups(yuzu-cmd)
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 @@
26#include "core/crypto/key_manager.h" 26#include "core/crypto/key_manager.h"
27#include "core/file_sys/registered_cache.h" 27#include "core/file_sys/registered_cache.h"
28#include "core/file_sys/vfs/vfs_real.h" 28#include "core/file_sys/vfs/vfs_real.h"
29#include "core/hle/service/am/applet_manager.h"
29#include "core/hle/service/filesystem/filesystem.h" 30#include "core/hle/service/filesystem/filesystem.h"
30#include "core/loader/loader.h" 31#include "core/loader/loader.h"
31#include "core/telemetry_session.h" 32#include "core/telemetry_session.h"
@@ -366,7 +367,10 @@ int main(int argc, char** argv) {
366 system.GetFileSystemController().CreateFactories(*system.GetFilesystem()); 367 system.GetFileSystemController().CreateFactories(*system.GetFilesystem());
367 system.GetUserChannel().clear(); 368 system.GetUserChannel().clear();
368 369
369 const Core::SystemResultStatus load_result{system.Load(*emu_window, filepath)}; 370 Service::AM::FrontendAppletParameters load_parameters{
371 .applet_id = Service::AM::AppletId::Application,
372 };
373 const Core::SystemResultStatus load_result{system.Load(*emu_window, filepath, load_parameters)};
370 374
371 switch (load_result) { 375 switch (load_result) {
372 case Core::SystemResultStatus::ErrorGetLoader: 376 case Core::SystemResultStatus::ErrorGetLoader: