summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-08-09 21:33:13 -0400
committerGravatar Zach Hilman2018-08-11 22:50:48 -0400
commitbfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31 (patch)
tree6ec1f2d655eae67b60341f7ac7b42c9feb134bd5 /src/core
parentgame_list: Modify game list to scan installed titles (diff)
downloadyuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.gz
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.tar.xz
yuzu-bfb945c2431ca1ccf1c5c43d4e3c7eaedf0bed31.zip
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp1
-rw-r--r--src/core/file_sys/registered_cache.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 05af68f22..28038ff6f 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -5,6 +5,7 @@
5#include <memory> 5#include <memory>
6#include <utility> 6#include <utility>
7#include "common/logging/log.h" 7#include "common/logging/log.h"
8#include "common/string_util.h"
8#include "core/core.h" 9#include "core/core.h"
9#include "core/core_timing.h" 10#include "core/core_timing.h"
10#include "core/gdbstub/gdbstub.h" 11#include "core/gdbstub/gdbstub.h"
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index 5440cdefb..766fef254 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -427,7 +427,7 @@ bool RegisteredCache::RawInstallYuzuMeta(const CNMT& cnmt) {
427 } 427 }
428 Refresh(); 428 Refresh();
429 return std::find_if(yuzu_meta.begin(), yuzu_meta.end(), 429 return std::find_if(yuzu_meta.begin(), yuzu_meta.end(),
430 [&cnmt](const std::pair<const u64, CNMT>& kv) { 430 [&cnmt](const std::pair<u64, CNMT>& kv) {
431 return kv.second.GetType() == cnmt.GetType() && 431 return kv.second.GetType() == cnmt.GetType() &&
432 kv.second.GetTitleID() == cnmt.GetTitleID(); 432 kv.second.GetTitleID() == cnmt.GetTitleID();
433 }) != yuzu_meta.end(); 433 }) != yuzu_meta.end();