(CocoaTouch) Add hack - if we press an entry and the data runloop

is active (meaning tasks are still yet to be handled), then we
run rarch_main_data_iterate in a loop and iterate over it 32 times.

This way, the 'Online Updater' and download options should work
This commit is contained in:
Twinaphex 2015-09-28 04:43:47 +02:00
parent 5d9cdcdec1
commit e133df155d

View File

@ -26,6 +26,7 @@
#include "../../../input/drivers/cocoa_input.h"
#include "../../../menu/menu_entry.h"
#include "../../../runloop_data.h"
// Menu Support
@ -745,7 +746,14 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)menuSelect: (uint32_t) i
{
unsigned j;
menu_entry_select(i);
if (!rarch_main_data_active())
return;
for (j = 0; j < 32; j++)
rarch_main_data_iterate();
}
- (void)menuBack