|
|
|
@ -35,10 +35,10 @@
|
|
|
|
|
#include "yuzu/uisettings.h"
|
|
|
|
|
#include "yuzu/util/util.h"
|
|
|
|
|
|
|
|
|
|
ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id, const std::string& file_name,
|
|
|
|
|
ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::string& file_name,
|
|
|
|
|
Core::System& system_)
|
|
|
|
|
: QDialog(parent), ui(std::make_unique<Ui::ConfigurePerGame>()),
|
|
|
|
|
title_id(title_id), system{system_} {
|
|
|
|
|
: QDialog(parent),
|
|
|
|
|
ui(std::make_unique<Ui::ConfigurePerGame>()), title_id{title_id_}, system{system_} {
|
|
|
|
|
const auto file_path = std::filesystem::path(Common::FS::ToU8String(file_name));
|
|
|
|
|
const auto config_file_name = title_id == 0 ? Common::FS::PathToUTF8String(file_path.filename())
|
|
|
|
|
: fmt::format("{:016X}", title_id);
|
|
|
|
|