mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
commit
4293e14dea
@ -249,12 +249,14 @@ static LRESULT CALLBACK WndProcCommon(bool *quit, HWND hwnd, UINT message,
|
|||||||
if (strlen(settings->path.libretro))
|
if (strlen(settings->path.libretro))
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
core_info_t *current_core = NULL;
|
||||||
|
core_info_get_current_core(¤t_core);
|
||||||
|
|
||||||
/*we already have path for libretro core */
|
/*we already have path for libretro core */
|
||||||
for (i = 0; i < list_size; i++)
|
for (i = 0; i < list_size; i++)
|
||||||
{
|
{
|
||||||
const core_info_t *info = (const core_info_t*)&core_info[i];
|
const core_info_t *info = (const core_info_t*)&core_info[i];
|
||||||
|
if(strcmp(info->systemname,current_core->systemname))break;
|
||||||
if(!strcmp(settings->path.libretro,info->path))
|
if(!strcmp(settings->path.libretro,info->path))
|
||||||
{
|
{
|
||||||
/* Our previous core supports the current rom */
|
/* Our previous core supports the current rom */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user