diff options
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 6 |
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 | ||
| 31 | create_target_directory_groups(yuzu-cmd) | ||
| 32 | |||
| 33 | target_link_libraries(yuzu-cmd PRIVATE common core input_common frontend_common) | 31 | target_link_libraries(yuzu-cmd PRIVATE common core input_common frontend_common) |
| 34 | target_link_libraries(yuzu-cmd PRIVATE glad) | 32 | target_link_libraries(yuzu-cmd PRIVATE glad) |
| 35 | if (MSVC) | 33 | if (MSVC) |
| @@ -63,3 +61,5 @@ endif() | |||
| 63 | if (YUZU_USE_PRECOMPILED_HEADERS) | 61 | if (YUZU_USE_PRECOMPILED_HEADERS) |
| 64 | target_precompile_headers(yuzu-cmd PRIVATE precompiled_headers.h) | 62 | target_precompile_headers(yuzu-cmd PRIVATE precompiled_headers.h) |
| 65 | endif() | 63 | endif() |
| 64 | |||
| 65 | create_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: |