game_list: Accept *.kip as a file extension of executables

This commit is contained in:
Zach Hilman 2019-06-05 00:33:00 -04:00
parent ce9f7ac4f2
commit c417b4fe28
2 changed files with 2 additions and 3 deletions

View file

@ -144,7 +144,7 @@ bool KIP::IsService() const {
} }
std::vector<u32> KIP::GetKernelCapabilities() 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 { s32 KIP::GetMainThreadPriority() const {

View file

@ -468,8 +468,7 @@ void GameList::LoadInterfaceLayout() {
const QStringList GameList::supported_file_extensions = { const QStringList GameList::supported_file_extensions = {
QStringLiteral("nso"), QStringLiteral("nro"), QStringLiteral("nca"), QStringLiteral("nso"), QStringLiteral("nro"), QStringLiteral("nca"),
QStringLiteral("xci"), QStringLiteral("nsp"), QStringLiteral("xci"), QStringLiteral("nsp"), QStringLiteral("kip")};
};
void GameList::RefreshGameDirectory() { void GameList::RefreshGameDirectory() {
if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) { if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) {