diff options
| author | 2019-06-05 00:33:00 -0400 | |
|---|---|---|
| committer | 2019-06-05 00:33:05 -0400 | |
| commit | c417b4fe28861062e799ddf5d010e1c4a1abe01e (patch) | |
| tree | 8e113bae0332cce3a51635350b6bd589d36b8968 /src | |
| parent | loader: Add recognition for KIP file type (diff) | |
| download | yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.gz yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.xz yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.zip | |
game_list: Accept *.kip as a file extension of executables
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/kernel_executable.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/game_list.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/core/file_sys/kernel_executable.cpp b/src/core/file_sys/kernel_executable.cpp index 0ddb9a60b..45cbde4c9 100644 --- a/src/core/file_sys/kernel_executable.cpp +++ b/src/core/file_sys/kernel_executable.cpp | |||
| @@ -144,7 +144,7 @@ bool KIP::IsService() const { | |||
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | std::vector<u32> KIP::GetKernelCapabilities() const { | 146 | std::vector<u32> KIP::GetKernelCapabilities() const { |
| 147 | return std::vector(header.capabilities.begin(), header.capabilities.end()); | 147 | return std::vector<u32>(header.capabilities.begin(), header.capabilities.end()); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | s32 KIP::GetMainThreadPriority() const { | 150 | s32 KIP::GetMainThreadPriority() const { |
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 83d675773..1885587af 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -468,8 +468,7 @@ void GameList::LoadInterfaceLayout() { | |||
| 468 | 468 | ||
| 469 | const QStringList GameList::supported_file_extensions = { | 469 | const QStringList GameList::supported_file_extensions = { |
| 470 | QStringLiteral("nso"), QStringLiteral("nro"), QStringLiteral("nca"), | 470 | QStringLiteral("nso"), QStringLiteral("nro"), QStringLiteral("nca"), |
| 471 | QStringLiteral("xci"), QStringLiteral("nsp"), | 471 | QStringLiteral("xci"), QStringLiteral("nsp"), QStringLiteral("kip")}; |
| 472 | }; | ||
| 473 | 472 | ||
| 474 | void GameList::RefreshGameDirectory() { | 473 | void GameList::RefreshGameDirectory() { |
| 475 | if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) { | 474 | if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) { |