mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Qt: can't get core info if there isn't any
This commit is contained in:
parent
b247962115
commit
eb549fdc17
@ -1324,6 +1324,9 @@ QList<QHash<QString, QString> > MainWindow::getCoreInfo()
|
||||
|
||||
core_info_get_list(&core_info_list);
|
||||
|
||||
if (!core_info_list || core_info_list->count == 0)
|
||||
return infoList;
|
||||
|
||||
for (i = 0; i < core_info_list->count; i++)
|
||||
{
|
||||
const core_info_t *core = &core_info_list->list[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user