diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/arm/nce/patcher.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/configuration/qt_config.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/arm/nce/patcher.cpp b/src/core/arm/nce/patcher.cpp index f97b909df..47a7a8880 100644 --- a/src/core/arm/nce/patcher.cpp +++ b/src/core/arm/nce/patcher.cpp | |||
| @@ -28,6 +28,8 @@ Patcher::~Patcher() = default; | |||
| 28 | 28 | ||
| 29 | void Patcher::PatchText(const Kernel::PhysicalMemory& program_image, | 29 | void Patcher::PatchText(const Kernel::PhysicalMemory& program_image, |
| 30 | const Kernel::CodeSet::Segment& code) { | 30 | const Kernel::CodeSet::Segment& code) { |
| 31 | // Branch to the first instruction of the module. | ||
| 32 | this->BranchToModule(0); | ||
| 31 | 33 | ||
| 32 | // Write save context helper function. | 34 | // Write save context helper function. |
| 33 | c.l(m_save_context); | 35 | c.l(m_save_context); |
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp index 5a8e69aa9..636c5e640 100644 --- a/src/yuzu/configuration/qt_config.cpp +++ b/src/yuzu/configuration/qt_config.cpp | |||
| @@ -225,7 +225,8 @@ void QtConfig::ReadPathValues() { | |||
| 225 | UISettings::values.recent_files = | 225 | UISettings::values.recent_files = |
| 226 | QString::fromStdString(ReadStringSetting(std::string("recentFiles"))) | 226 | QString::fromStdString(ReadStringSetting(std::string("recentFiles"))) |
| 227 | .split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive); | 227 | .split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive); |
| 228 | UISettings::values.language = ReadStringSetting(std::string("language"), std::string("")); | 228 | UISettings::values.language = |
| 229 | ReadStringSetting(std::string("language"), std::make_optional(std::string(""))); | ||
| 229 | 230 | ||
| 230 | EndGroup(); | 231 | EndGroup(); |
| 231 | } | 232 | } |