summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-09-26 23:06:10 -0400
committerLioncash <mathew1800@gmail.com>2013-09-26 23:06:10 -0400
commit8aba748735e83ed5865a2e78f6af9d966e0017b2 (patch)
treed85775c7b549b5f70380b9970272a752f4813af7 /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
parentbea76ac129e6e918e98a0defdd1dda1d844c216c (diff)
[Android] Fix a situation within the FolderBrowser where the application would crash. listFiles() returns null when either the File object it's called on isn't a directory or if an I/O error happens (in their infinite wisdom, they actually thought NOT throwing an exception was a cool way to handle this. How about that?). In the case of trying to access system directories as a normal user, an I/O error will occur due to permission access rights. This fixes that.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions