mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Merge pull request #18276 from unknownbrackets/ui-axis-crash
UI: Fix crash on input with no screens
This commit is contained in:
1 file changed
+2
@@ -119,6 +119,8 @@ bool ScreenManager::key(const KeyInput &key) {
|
||||
|
||||
void ScreenManager::axis(const AxisInput *axes, size_t count) {
|
||||
std::lock_guard<std::recursive_mutex> guard(inputLock_);
|
||||
if (stack_.empty())
|
||||
return;
|
||||
stack_.back().screen->UnsyncAxis(axes, count);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user