summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-05 06:33:00 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-05 06:33:05 +0200
commitc417b4fe28861062e799ddf5d010e1c4a1abe01e (patch)
tree8e113bae0332cce3a51635350b6bd589d36b8968 /src
parentloader: Add recognition for KIP file type (diff)
downloadyuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.gz
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.bz2
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.lz
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.xz
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.tar.zst
yuzu-c417b4fe28861062e799ddf5d010e1c4a1abe01e.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/kernel_executable.cpp2
-rw-r--r--src/yuzu/game_list.cpp3
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 {
}
std::vector<u32> KIP::GetKernelCapabilities() const {
- return std::vector(header.capabilities.begin(), header.capabilities.end());
+ return std::vector<u32>(header.capabilities.begin(), header.capabilities.end());
}
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() {
const QStringList GameList::supported_file_extensions = {
QStringLiteral("nso"), QStringLiteral("nro"), QStringLiteral("nca"),
- QStringLiteral("xci"), QStringLiteral("nsp"),
-};
+ QStringLiteral("xci"), QStringLiteral("nsp"), QStringLiteral("kip")};
void GameList::RefreshGameDirectory() {
if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) {