mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[APP] Fixed potential string corruption
This commit is contained in:
parent
403c9500bb
commit
a4412ad40d
|
|
@ -1794,7 +1794,7 @@ EmulatorWindow::ControllerHotKey EmulatorWindow::ProcessControllerHotkey(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!notificationTitle.empty()) {
|
if (!notificationTitle.empty()) {
|
||||||
app_context_.CallInUIThread([&]() {
|
app_context_.CallInUIThread([=]() {
|
||||||
new xe::ui::HostNotificationWindow(imgui_drawer(), notificationTitle,
|
new xe::ui::HostNotificationWindow(imgui_drawer(), notificationTitle,
|
||||||
notificationDesc, 0);
|
notificationDesc, 0);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue