mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
Implement resetting from a popup menu on the pause menu.
This commit is contained in:
1 parent
7314a65cc5
commit
116f8cf3af
10 files changed
+81
-37
No files matched your search
@@ -273,8 +273,10 @@ void ScreenManager::sendMessage(UIMessage message, const char *value) {
|
||||
backgroundScreen_->sendMessage(message, value);
|
||||
}
|
||||
|
||||
if (!stack_.empty()) {
|
||||
stack_.back().screen->sendMessage(message, 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user