[APP] Fixed potential string corruption

This commit is contained in:
Adrian 2025-01-25 20:31:17 +00:00 committed by Radosław Gliński
parent 403c9500bb
commit a4412ad40d

View file

@ -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);
}); });