summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/registered_cache.cpp8
-rw-r--r--src/core/hle/service/am/am.cpp9
-rw-r--r--src/core/hle/service/am/applet_ae.cpp2
-rw-r--r--src/core/hle/service/am/applet_oe.cpp2
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp5
-rw-r--r--src/core/hle/service/filesystem/filesystem.h2
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp3
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.h2
-rw-r--r--src/core/hle/service/service.cpp4
-rw-r--r--src/yuzu/CMakeLists.txt1
-rw-r--r--src/yuzu/configuration/config.cpp26
-rw-r--r--src/yuzu/configuration/configure_debug.ui56
-rw-r--r--src/yuzu/configuration/configure_filesystem.cpp2
-rw-r--r--src/yuzu/configuration/configure_general.cpp1
-rw-r--r--src/yuzu_tester/yuzu.cpp4
15 files changed, 64 insertions, 63 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index d1ef1e72d..ac3fbd849 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -59,12 +59,12 @@ static std::string GetRelativePathFromNcaID(const std::array<u8, 16>& nca_id, bo
59 bool within_two_digit, bool cnmt_suffix) { 59 bool within_two_digit, bool cnmt_suffix) {
60 if (!within_two_digit) 60 if (!within_two_digit)
61 return fmt::format(cnmt_suffix ? "{}.cnmt.nca" : "/{}.nca", 61 return fmt::format(cnmt_suffix ? "{}.cnmt.nca" : "/{}.nca",
62 Common::HexArrayToString(nca_id, second_hex_upper)); 62 Common::HexToString(nca_id, second_hex_upper));
63 63
64 Core::Crypto::SHA256Hash hash{}; 64 Core::Crypto::SHA256Hash hash{};
65 mbedtls_sha256(nca_id.data(), nca_id.size(), hash.data(), 0); 65 mbedtls_sha256(nca_id.data(), nca_id.size(), hash.data(), 0);
66 return fmt::format(cnmt_suffix ? "/000000{:02X}/{}.cnmt.nca" : "/000000{:02X}/{}.nca", hash[0], 66 return fmt::format(cnmt_suffix ? "/000000{:02X}/{}.cnmt.nca" : "/000000{:02X}/{}.nca", hash[0],
67 Common::HexArrayToString(nca_id, second_hex_upper)); 67 Common::HexToString(nca_id, second_hex_upper));
68} 68}
69 69
70static std::string GetCNMTName(TitleType type, u64 title_id) { 70static std::string GetCNMTName(TitleType type, u64 title_id) {
@@ -149,7 +149,7 @@ bool PlaceholderCache::Create(const NcaID& id, u64 size) const {
149 if (dir2 == nullptr) 149 if (dir2 == nullptr)
150 return false; 150 return false;
151 151
152 const auto file = dir2->CreateFile(fmt::format("{}.nca", Common::HexArrayToString(id, false))); 152 const auto file = dir2->CreateFile(fmt::format("{}.nca", Common::HexToString(id, false)));
153 153
154 if (file == nullptr) 154 if (file == nullptr)
155 return false; 155 return false;
@@ -170,7 +170,7 @@ bool PlaceholderCache::Delete(const NcaID& id) const {
170 170
171 const auto dir2 = GetOrCreateDirectoryRelative(dir, dirname); 171 const auto dir2 = GetOrCreateDirectoryRelative(dir, dirname);
172 172
173 const auto res = dir2->DeleteFile(fmt::format("{}.nca", Common::HexArrayToString(id, false))); 173 const auto res = dir2->DeleteFile(fmt::format("{}.nca", Common::HexToString(id, false)));
174 174
175 return res; 175 return res;
176} 176}
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 7f8514b0d..6c594dcaf 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1151,7 +1151,8 @@ void IApplicationFunctions::EnsureSaveData(Kernel::HLERequestContext& ctx) {
1151 descriptor.title_id = Core::CurrentProcess()->GetTitleID(); 1151 descriptor.title_id = Core::CurrentProcess()->GetTitleID();
1152 descriptor.user_id = user_id; 1152 descriptor.user_id = user_id;
1153 descriptor.type = FileSys::SaveDataType::SaveData; 1153 descriptor.type = FileSys::SaveDataType::SaveData;
1154 const auto res = fsc.CreateSaveData(FileSys::SaveDataSpaceId::NandUser, descriptor); 1154 const auto res = system.GetFileSystemController().CreateSaveData(
1155 FileSys::SaveDataSpaceId::NandUser, descriptor);
1155 1156
1156 IPC::ResponseBuilder rb{ctx, 4}; 1157 IPC::ResponseBuilder rb{ctx, 4};
1157 rb.Push(res.Code()); 1158 rb.Push(res.Code());
@@ -1268,8 +1269,8 @@ void IApplicationFunctions::ExtendSaveData(Kernel::HLERequestContext& ctx) {
1268 "new_journal={:016X}", 1269 "new_journal={:016X}",
1269 static_cast<u8>(type), user_id[1], user_id[0], new_normal_size, new_journal_size); 1270 static_cast<u8>(type), user_id[1], user_id[0], new_normal_size, new_journal_size);
1270 1271
1271 fsc.WriteSaveDataSize(type, system.CurrentProcess()->GetTitleID(), user_id, 1272 system.GetFileSystemController().WriteSaveDataSize(
1272 {new_normal_size, new_journal_size}); 1273 type, system.CurrentProcess()->GetTitleID(), user_id, {new_normal_size, new_journal_size});
1273 1274
1274 IPC::ResponseBuilder rb{ctx, 4}; 1275 IPC::ResponseBuilder rb{ctx, 4};
1275 rb.Push(RESULT_SUCCESS); 1276 rb.Push(RESULT_SUCCESS);
@@ -1288,7 +1289,7 @@ void IApplicationFunctions::GetSaveDataSize(Kernel::HLERequestContext& ctx) {
1288 LOG_DEBUG(Service_AM, "called with type={:02X}, user_id={:016X}{:016X}", static_cast<u8>(type), 1289 LOG_DEBUG(Service_AM, "called with type={:02X}, user_id={:016X}{:016X}", static_cast<u8>(type),
1289 user_id[1], user_id[0]); 1290 user_id[1], user_id[0]);
1290 1291
1291 const auto size = system.FileSystemController().ReadSaveDataSize( 1292 const auto size = system.GetFileSystemController().ReadSaveDataSize(
1292 type, system.CurrentProcess()->GetTitleID(), user_id); 1293 type, system.CurrentProcess()->GetTitleID(), user_id);
1293 1294
1294 IPC::ResponseBuilder rb{ctx, 6}; 1295 IPC::ResponseBuilder rb{ctx, 6};
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp
index d04476ae0..e454b77d8 100644
--- a/src/core/hle/service/am/applet_ae.cpp
+++ b/src/core/hle/service/am/applet_ae.cpp
@@ -106,7 +106,7 @@ private:
106 106
107 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 107 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
108 rb.Push(RESULT_SUCCESS); 108 rb.Push(RESULT_SUCCESS);
109 rb.PushIpcInterface<IApplicationFunctions>(system.FileSystemController()); 109 rb.PushIpcInterface<IApplicationFunctions>(system);
110 } 110 }
111 111
112 std::shared_ptr<NVFlinger::NVFlinger> nvflinger; 112 std::shared_ptr<NVFlinger::NVFlinger> nvflinger;
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp
index 2ee21620b..a2ffaa440 100644
--- a/src/core/hle/service/am/applet_oe.cpp
+++ b/src/core/hle/service/am/applet_oe.cpp
@@ -95,7 +95,7 @@ private:
95 95
96 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 96 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
97 rb.Push(RESULT_SUCCESS); 97 rb.Push(RESULT_SUCCESS);
98 rb.PushIpcInterface<IApplicationFunctions>(system.FileSystemController()); 98 rb.PushIpcInterface<IApplicationFunctions>(system);
99 } 99 }
100 100
101 std::shared_ptr<NVFlinger::NVFlinger> nvflinger; 101 std::shared_ptr<NVFlinger::NVFlinger> nvflinger;
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 31d5fd79b..14cd0e322 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -711,11 +711,10 @@ void FileSystemController::CreateFactories(FileSys::VfsFilesystem& vfs, bool ove
711} 711}
712 712
713void InstallInterfaces(Core::System& system) { 713void InstallInterfaces(Core::System& system) {
714 romfs_factory = nullptr;
715 CreateFactories(*system.GetFilesystem(), false);
716 std::make_shared<FSP_LDR>()->InstallAsService(system.ServiceManager()); 714 std::make_shared<FSP_LDR>()->InstallAsService(system.ServiceManager());
717 std::make_shared<FSP_PR>()->InstallAsService(system.ServiceManager()); 715 std::make_shared<FSP_PR>()->InstallAsService(system.ServiceManager());
718 std::make_shared<FSP_SRV>(system.GetReporter())->InstallAsService(system.ServiceManager()); 716 std::make_shared<FSP_SRV>(system.GetFileSystemController(), system.GetReporter())
717 ->InstallAsService(system.ServiceManager());
719} 718}
720 719
721} // namespace Service::FileSystem 720} // namespace Service::FileSystem
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h
index 4d7da3b6f..3e0c03ec0 100644
--- a/src/core/hle/service/filesystem/filesystem.h
+++ b/src/core/hle/service/filesystem/filesystem.h
@@ -125,7 +125,7 @@ private:
125 std::unique_ptr<FileSys::PlaceholderCache> gamecard_placeholder; 125 std::unique_ptr<FileSys::PlaceholderCache> gamecard_placeholder;
126}; 126};
127 127
128void InstallInterfaces(SM::ServiceManager& service_manager, FileSystemController& controller); 128void InstallInterfaces(Core::System& system);
129 129
130// A class that wraps a VfsDirectory with methods that return ResultVal and ResultCode instead of 130// A class that wraps a VfsDirectory with methods that return ResultVal and ResultCode instead of
131// pointers and booleans. This makes using a VfsDirectory with switch services much easier and 131// pointers and booleans. This makes using a VfsDirectory with switch services much easier and
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 305d9e176..eb982ad49 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -650,7 +650,8 @@ private:
650 u64 next_entry_index = 0; 650 u64 next_entry_index = 0;
651}; 651};
652 652
653FSP_SRV::FSP_SRV(FileSystemController& fsc) : ServiceFramework("fsp-srv"), fsc(fsc) { 653FSP_SRV::FSP_SRV(FileSystemController& fsc, const Core::Reporter& reporter)
654 : ServiceFramework("fsp-srv"), fsc(fsc), reporter(reporter) {
654 // clang-format off 655 // clang-format off
655 static const FunctionInfo functions[] = { 656 static const FunctionInfo functions[] = {
656 {0, nullptr, "OpenFileSystem"}, 657 {0, nullptr, "OpenFileSystem"},
diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.h
index 494348598..d52b55999 100644
--- a/src/core/hle/service/filesystem/fsp_srv.h
+++ b/src/core/hle/service/filesystem/fsp_srv.h
@@ -32,7 +32,7 @@ enum class LogMode : u32 {
32 32
33class FSP_SRV final : public ServiceFramework<FSP_SRV> { 33class FSP_SRV final : public ServiceFramework<FSP_SRV> {
34public: 34public:
35 explicit FSP_SRV(FileSystemController& fsc); 35 explicit FSP_SRV(FileSystemController& fsc, const Core::Reporter& reporter);
36 ~FSP_SRV() override; 36 ~FSP_SRV() override;
37 37
38private: 38private:
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 3d6a5990f..454387467 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -199,7 +199,7 @@ void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
199 // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it 199 // NVFlinger needs to be accessed by several services like Vi and AppletOE so we instantiate it
200 // here and pass it into the respective InstallInterfaces functions. 200 // here and pass it into the respective InstallInterfaces functions.
201 auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system.CoreTiming()); 201 auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system.CoreTiming());
202 fsc.CreateFactories(*system.GetFilesystem(), false); 202 system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
203 203
204 SM::ServiceManager::InstallInterfaces(sm); 204 SM::ServiceManager::InstallInterfaces(sm);
205 205
@@ -236,7 +236,7 @@ void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
236 NIFM::InstallInterfaces(*sm); 236 NIFM::InstallInterfaces(*sm);
237 NIM::InstallInterfaces(*sm); 237 NIM::InstallInterfaces(*sm);
238 NPNS::InstallInterfaces(*sm); 238 NPNS::InstallInterfaces(*sm);
239 NS::InstallInterfaces(*sm, fsc); 239 NS::InstallInterfaces(*sm, system.GetFileSystemController());
240 Nvidia::InstallInterfaces(*sm, *nv_flinger, system); 240 Nvidia::InstallInterfaces(*sm, *nv_flinger, system);
241 PCIe::InstallInterfaces(*sm); 241 PCIe::InstallInterfaces(*sm);
242 PCTL::InstallInterfaces(*sm); 242 PCTL::InstallInterfaces(*sm);
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index c50ca317d..dc6fa07fc 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -35,6 +35,7 @@ add_executable(yuzu
35 configuration/configure_dialog.h 35 configuration/configure_dialog.h
36 configuration/configure_filesystem.cpp 36 configuration/configure_filesystem.cpp
37 configuration/configure_filesystem.h 37 configuration/configure_filesystem.h
38 configuration/configure_filesystem.ui
38 configuration/configure_gamelist.cpp 39 configuration/configure_gamelist.cpp
39 configuration/configure_gamelist.h 40 configuration/configure_gamelist.h
40 configuration/configure_gamelist.ui 41 configuration/configure_gamelist.ui
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 7c286af62..92d9fb161 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -488,18 +488,19 @@ void Config::ReadDataStorageValues() {
488 ReadSetting(QStringLiteral("gamecard_path"), QStringLiteral("")).toString().toStdString(); 488 ReadSetting(QStringLiteral("gamecard_path"), QStringLiteral("")).toString().toStdString();
489 Settings::values.nand_total_size = static_cast<Settings::NANDTotalSize>( 489 Settings::values.nand_total_size = static_cast<Settings::NANDTotalSize>(
490 ReadSetting(QStringLiteral("nand_total_size"), 490 ReadSetting(QStringLiteral("nand_total_size"),
491 static_cast<u64>(Settings::NANDTotalSize::S29_1GB)) 491 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDTotalSize::S29_1GB)))
492 .toULongLong()); 492 .toULongLong());
493 Settings::values.nand_user_size = static_cast<Settings::NANDUserSize>( 493 Settings::values.nand_user_size = static_cast<Settings::NANDUserSize>(
494 ReadSetting(QStringLiteral("nand_user_size"), 494 ReadSetting(QStringLiteral("nand_user_size"),
495 static_cast<u64>(Settings::NANDUserSize::S26GB)) 495 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDUserSize::S26GB)))
496 .toULongLong()); 496 .toULongLong());
497 Settings::values.nand_system_size = static_cast<Settings::NANDSystemSize>( 497 Settings::values.nand_system_size = static_cast<Settings::NANDSystemSize>(
498 ReadSetting(QStringLiteral("nand_system_size"), 498 ReadSetting(QStringLiteral("nand_system_size"),
499 static_cast<u64>(Settings::NANDSystemSize::S2_5GB)) 499 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDSystemSize::S2_5GB)))
500 .toULongLong()); 500 .toULongLong());
501 Settings::values.sdmc_size = static_cast<Settings::SDMCSize>( 501 Settings::values.sdmc_size = static_cast<Settings::SDMCSize>(
502 ReadSetting(QStringLiteral("sdmc_size"), static_cast<u64>(Settings::SDMCSize::S16GB)) 502 ReadSetting(QStringLiteral("sdmc_size"),
503 QVariant::fromValue<u64>(static_cast<u64>(Settings::SDMCSize::S16GB)))
503 .toULongLong()); 504 .toULongLong());
504 505
505 qt_config->endGroup(); 506 qt_config->endGroup();
@@ -932,16 +933,17 @@ void Config::SaveDataStorageValues() {
932 WriteSetting(QStringLiteral("gamecard_path"), 933 WriteSetting(QStringLiteral("gamecard_path"),
933 QString::fromStdString(Settings::values.gamecard_path), QStringLiteral("")); 934 QString::fromStdString(Settings::values.gamecard_path), QStringLiteral(""));
934 WriteSetting(QStringLiteral("nand_total_size"), 935 WriteSetting(QStringLiteral("nand_total_size"),
935 static_cast<u64>(Settings::values.nand_total_size), 936 QVariant::fromValue<u64>(static_cast<u64>(Settings::values.nand_total_size)),
936 static_cast<u64>(Settings::NANDTotalSize::S29_1GB)); 937 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDTotalSize::S29_1GB)));
937 WriteSetting(QStringLiteral("nand_user_size"), 938 WriteSetting(QStringLiteral("nand_user_size"),
938 static_cast<u64>(Settings::values.nand_user_size), 939 QVariant::fromValue<u64>(static_cast<u64>(Settings::values.nand_user_size)),
939 static_cast<u64>(Settings::NANDUserSize::S26GB)); 940 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDUserSize::S26GB)));
940 WriteSetting(QStringLiteral("nand_system_size"), 941 WriteSetting(QStringLiteral("nand_system_size"),
941 static_cast<u64>(Settings::values.nand_system_size), 942 QVariant::fromValue<u64>(static_cast<u64>(Settings::values.nand_system_size)),
942 static_cast<u64>(Settings::NANDSystemSize::S2_5GB)); 943 QVariant::fromValue<u64>(static_cast<u64>(Settings::NANDSystemSize::S2_5GB)));
943 WriteSetting(QStringLiteral("sdmc_size"), static_cast<u64>(Settings::values.sdmc_size), 944 WriteSetting(QStringLiteral("sdmc_size"),
944 static_cast<u64>(Settings::SDMCSize::S16GB)); 945 QVariant::fromValue<u64>(static_cast<u64>(Settings::values.sdmc_size)),
946 QVariant::fromValue<u64>(static_cast<u64>(Settings::SDMCSize::S16GB)));
945 qt_config->endGroup(); 947 qt_config->endGroup();
946} 948}
947 949
diff --git a/src/yuzu/configuration/configure_debug.ui b/src/yuzu/configuration/configure_debug.ui
index db254f560..ce49569bb 100644
--- a/src/yuzu/configuration/configure_debug.ui
+++ b/src/yuzu/configuration/configure_debug.ui
@@ -103,33 +103,6 @@
103 </item> 103 </item>
104 </layout> 104 </layout>
105 </item> 105 </item>
106 </layout>
107 </widget>
108 </item>
109 <item>
110 <widget class="QGroupBox" name="groupBox_3">
111 <property name="title">
112 <string>Homebrew</string>
113 </property>
114 <layout class="QVBoxLayout" name="verticalLayout_5">
115 <item>
116 <layout class="QHBoxLayout" name="horizontalLayout_4">
117 <item>
118 <widget class="QLabel" name="label_3">
119 <property name="text">
120 <string>Arguments String</string>
121 </property>
122 </widget>
123 </item>
124 <item>
125 <widget class="QLineEdit" name="homebrew_args_edit"/>
126 </item>
127 </layout>
128 </item>
129 </layout>
130 </widget>
131 </item>
132 <item>
133 <item> 106 <item>
134 <widget class="QCheckBox" name="reporting_services"> 107 <widget class="QCheckBox" name="reporting_services">
135 <property name="text"> 108 <property name="text">
@@ -138,7 +111,7 @@
138 </widget> 111 </widget>
139 </item> 112 </item>
140 <item> 113 <item>
141 <widget class="QLabel" name="label_3"> 114 <widget class="QLabel" name="label">
142 <property name="font"> 115 <property name="font">
143 <font> 116 <font>
144 <italic>true</italic> 117 <italic>true</italic>
@@ -172,15 +145,36 @@
172 </widget> 145 </widget>
173 </item> 146 </item>
174 <item> 147 <item>
175 <widget class="QGroupBox" name="groupBox_4"> 148 <widget class="QGroupBox" name="groupBox_3">
176 <property name="title"> 149 <property name="title">
177 <string>Dump</string> 150 <string>Homebrew</string>
178 </property> 151 </property>
179 <layout class="QVBoxLayout" name="verticalLayout_6"> 152 <layout class="QVBoxLayout" name="verticalLayout_5">
153 <item>
154 <layout class="QHBoxLayout" name="horizontalLayout_4">
155 <item>
156 <widget class="QLabel" name="label_3">
157 <property name="text">
158 <string>Arguments String</string>
159 </property>
160 </widget>
161 </item>
162 <item>
163 <widget class="QLineEdit" name="homebrew_args_edit"/>
164 </item>
165 </layout>
166 </item>
167 </layout>
168 </widget>
169 </item>
170 <item>
180 <spacer name="verticalSpacer"> 171 <spacer name="verticalSpacer">
181 <property name="orientation"> 172 <property name="orientation">
182 <enum>Qt::Vertical</enum> 173 <enum>Qt::Vertical</enum>
183 </property> 174 </property>
175 <property name="sizeType">
176 <enum>QSizePolicy::Expanding</enum>
177 </property>
184 <property name="sizeHint" stdset="0"> 178 <property name="sizeHint" stdset="0">
185 <size> 179 <size>
186 <width>20</width> 180 <width>20</width>
diff --git a/src/yuzu/configuration/configure_filesystem.cpp b/src/yuzu/configuration/configure_filesystem.cpp
index b8b9daf2a..29f540eb7 100644
--- a/src/yuzu/configuration/configure_filesystem.cpp
+++ b/src/yuzu/configuration/configure_filesystem.cpp
@@ -9,7 +9,7 @@
9#include "core/settings.h" 9#include "core/settings.h"
10#include "ui_configure_filesystem.h" 10#include "ui_configure_filesystem.h"
11#include "yuzu/configuration/configure_filesystem.h" 11#include "yuzu/configuration/configure_filesystem.h"
12#include "yuzu/ui_settings.h" 12#include "yuzu/uisettings.h"
13 13
14namespace { 14namespace {
15 15
diff --git a/src/yuzu/configuration/configure_general.cpp b/src/yuzu/configuration/configure_general.cpp
index 10bcd650e..b49446be9 100644
--- a/src/yuzu/configuration/configure_general.cpp
+++ b/src/yuzu/configuration/configure_general.cpp
@@ -2,6 +2,7 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <QSpinBox>
5#include "core/core.h" 6#include "core/core.h"
6#include "core/settings.h" 7#include "core/settings.h"
7#include "ui_configure_general.h" 8#include "ui_configure_general.h"
diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp
index 0ee97aa54..94ad50cb3 100644
--- a/src/yuzu_tester/yuzu.cpp
+++ b/src/yuzu_tester/yuzu.cpp
@@ -22,6 +22,7 @@
22#include "common/telemetry.h" 22#include "common/telemetry.h"
23#include "core/core.h" 23#include "core/core.h"
24#include "core/crypto/key_manager.h" 24#include "core/crypto/key_manager.h"
25#include "core/file_sys/registered_cache.h"
25#include "core/file_sys/vfs_real.h" 26#include "core/file_sys/vfs_real.h"
26#include "core/hle/service/filesystem/filesystem.h" 27#include "core/hle/service/filesystem/filesystem.h"
27#include "core/loader/loader.h" 28#include "core/loader/loader.h"
@@ -216,8 +217,9 @@ int main(int argc, char** argv) {
216 }; 217 };
217 218
218 Core::System& system{Core::System::GetInstance()}; 219 Core::System& system{Core::System::GetInstance()};
220 system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
219 system.SetFilesystem(std::make_shared<FileSys::RealVfsFilesystem>()); 221 system.SetFilesystem(std::make_shared<FileSys::RealVfsFilesystem>());
220 Service::FileSystem::CreateFactories(*system.GetFilesystem()); 222 system.GetFileSystemController().CreateFactories(*system.GetFilesystem());
221 223
222 SCOPE_EXIT({ system.Shutdown(); }); 224 SCOPE_EXIT({ system.Shutdown(); });
223 225