mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Fix issue with chat button / DevMenu button becoming focusable
This made gameplay a bit difficult when these buttons were enabled.
This commit is contained in:
1 parent
e009d182ff
commit
e4b90c0471
6 files changed
+18
-5
No files matched your search
@@ -1738,6 +1738,14 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) {
|
||||
return screenRenderFlags;
|
||||
}
|
||||
|
||||
bool EmuScreen::AllowFocusMovement() const {
|
||||
if (chatMenu_ && chatMenu_->GetVisibility() == UI::V_VISIBLE) {
|
||||
return true;
|
||||
}
|
||||
// We have just a game controller and possibly a chat and debug button. Don't allow focus movement.
|
||||
return false;
|
||||
}
|
||||
|
||||
ScreenRenderFlags EmuScreen::RunEmulation(bool skipBufferEffects) {
|
||||
using namespace Draw;
|
||||
ScreenRenderFlags flags = ScreenRenderFlags::NONE;
|
||||
|
||||
Reference in new issue
Block a user