MMJOYSTICK: fix nullpointer crash in GetMMJOYDevice

This commit is contained in:
Megamouse 2018-07-22 11:52:56 +02:00
parent d13e71eeb8
commit 8b693ed7bb
3 changed files with 14 additions and 9 deletions

View file

@ -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());