mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
MMJOYSTICK: fix nullpointer crash in GetMMJOYDevice
This commit is contained in:
parent
d13e71eeb8
commit
8b693ed7bb
3 changed files with 14 additions and 9 deletions
|
|
@ -753,7 +753,7 @@ bool ds4_pad_handler::Init()
|
|||
}
|
||||
|
||||
if (controllers.size() == 0)
|
||||
LOG_ERROR(HLE, "[DS4] No controllers found!");
|
||||
LOG_WARNING(HLE, "[DS4] No controllers found!");
|
||||
else
|
||||
LOG_SUCCESS(HLE, "[DS4] Controllers found: %d", controllers.size());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue