mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
UI: Fix crash on input with no screens.
This commit is contained in:
1 parent
aedd51f2f6
commit
847a87f164
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