mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Merge pull request #20515 from hrydgard/more-misc-fixes
Additional fixes for 1.19.2
This commit is contained in:
1 parent
044ecb3609
commit
c32af6c7f3
11 files changed
+42
-19
No files matched your search
@@ -313,8 +313,10 @@ void ScreenManager::sendMessage(UIMessage message, const char *value) {
|
||||
|
||||
// NOTE: Changed this to send the message to all screens, instead of just the top one,
|
||||
// to allow EmuScreen to receive messages from popup menus. Hope this didn't break anything..
|
||||
for (auto &iter : stack_) {
|
||||
iter.screen->sendMessage(message, value);
|
||||
for (const auto &iter : stack_) {
|
||||
if (iter.screen) {
|
||||
iter.screen->sendMessage(message, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user