summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-24 16:25:15 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-24 16:25:15 +0200
commit510838759f2315f21b0dcb8b27f840b489e1f63c (patch)
tree0ab371585bccd76debd0b6c6b0db1059f3cccbaa
parentMerge pull request #4046 from ogniK5377/macro-hle-prod (diff)
downloadyuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar.gz
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar.bz2
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar.lz
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar.xz
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.tar.zst
yuzu-510838759f2315f21b0dcb8b27f840b489e1f63c.zip
-rw-r--r--src/core/hle/service/am/applets/software_keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/software_keyboard.cpp b/src/core/hle/service/am/applets/software_keyboard.cpp
index d14076b02..fbe3686ae 100644
--- a/src/core/hle/service/am/applets/software_keyboard.cpp
+++ b/src/core/hle/service/am/applets/software_keyboard.cpp
@@ -60,7 +60,7 @@ void SoftwareKeyboard::Initialize() {
std::memcpy(&config, keyboard_config.data(), sizeof(KeyboardConfig));
const auto work_buffer_storage = broker.PopNormalDataToApplet();
- ASSERT(work_buffer_storage != nullptr);
+ ASSERT_OR_EXECUTE(work_buffer_storage != nullptr, { return; });
const auto& work_buffer = work_buffer_storage->GetData();
if (config.initial_string_size == 0)