mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-27 11:00:27 +00:00
SDL2 fix rom re-scan when nno roms have been found on previous scans
This commit is contained in:
parent
00e7a48418
commit
e885c8bdda
@ -722,6 +722,7 @@ void reset_filters()
|
||||
bShowAvailableOnly = true;
|
||||
nSystemToCheckMask = HARDWARE_PUBLIC_MASK;
|
||||
nFilterSelect = HARDWARE_PUBLIC_MASK;
|
||||
|
||||
startGame = -gamesperscreen_halfway;
|
||||
}
|
||||
|
||||
@ -736,7 +737,7 @@ void RefreshRomList(bool force_rescan)
|
||||
|
||||
tempgame = nBurnDrvActive;
|
||||
nBurnDrvActive = 0;
|
||||
|
||||
filterGamesCount = 0;
|
||||
if (!CheckGameAvb() && !force_rescan)
|
||||
{
|
||||
return;
|
||||
@ -791,6 +792,7 @@ void RefreshRomList(bool force_rescan)
|
||||
WriteGameAvb();
|
||||
nBurnDrvActive = tempgame;
|
||||
reset_filters(); // reset filterss after a full rescan
|
||||
DoFilterGames();
|
||||
}
|
||||
|
||||
void gui_exit()
|
||||
|
Loading…
Reference in New Issue
Block a user