mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UI: Fix crash on input with no screens.
This commit is contained in:
parent
aedd51f2f6
commit
847a87f164
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue