mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #2153 from lakkatv/cocoa
Workaround for the double populate on cocoatouch
This commit is contained in:
commit
94397db093
@ -527,6 +527,14 @@ static void ui_companion_cocoatouch_notify_list_pushed(void *data,
|
||||
bool pushp = false;
|
||||
|
||||
size_t new_size = file_list_get_size( menu_list );
|
||||
|
||||
/* FIXME workaround for the double call */
|
||||
if ( old_size == 0 )
|
||||
{
|
||||
old_size = new_size;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( old_size == new_size ) {
|
||||
pushp = false;
|
||||
} else if ( old_size < new_size ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user