SettingsHandler: Namespace code under the Common namespace

Adds another file in Common to the Common namespace.
This commit is contained in:
Lioncash
2018-05-12 13:39:35 -04:00
parent bf0ee9f702
commit 5677e5d74a
4 changed files with 11 additions and 5 deletions

View File

@ -92,10 +92,10 @@ IPCCommandResult NetKDRequest::IOCtl(const IOCtlRequest& request)
const auto fs = m_ios.GetFS();
if (const auto file = fs->OpenFile(PID_KD, PID_KD, settings_file_path, FS::Mode::Read))
{
SettingsHandler::Buffer data;
Common::SettingsHandler::Buffer data;
if (file->Read(data.data(), data.size()))
{
const SettingsHandler gen{std::move(data)};
const Common::SettingsHandler gen{std::move(data)};
area = gen.GetValue("AREA");
model = gen.GetValue("MODEL");
}