mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
This commit is contained in:
1 parent
c6caff61bf
commit
ca9d0ea5cf
8 files changed
+83
-66
No files matched your search
+3
-2
@@ -453,8 +453,9 @@ void EmuScreen::processAxis(const AxisInput &axis, int direction) {
|
||||
}
|
||||
|
||||
void EmuScreen::CreateViews() {
|
||||
InitPadLayout();
|
||||
root_ = CreatePadLayout(&pauseTrigger_);
|
||||
const Bounds &bounds = screenManager()->getUIContext()->GetBounds();
|
||||
InitPadLayout(bounds.w, bounds.h);
|
||||
root_ = CreatePadLayout(bounds.w, bounds.h, &pauseTrigger_);
|
||||
if (g_Config.bShowDeveloperMenu) {
|
||||
root_->Add(new UI::Button("DevMenu"))->OnClick.Handle(this, &EmuScreen::OnDevTools);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user