Commits

hominem_te_esse committed 46182a9

Added hidden options to be able to define your own device delay before loading ART/config files.

On slow device (USB) it may not be recommended to put very low values.

Original value was: 8

Add those lines to your conf_opl.cfg to define yours:
app_frames_delay=x
hdd_frames_delay=x
eth_frames_delay=x
usb_frames_delay=x

x from 0 to ... N

Recommended value is 1.

(With 0 OPL will flash art when browsing your game list, some may like, some not :))

Comments (0)

Files changed (4)

 void appInit(void) {
 	LOG("APPSUPPORT Init\n");
 	appForceUpdate = 1;
-
+	configGetInt(configGetByType(CONFIG_OPL), "app_frames_delay", &appItemList.delay);
 	configApps = configGetByType(CONFIG_APPS);
-
 	appItemList.enabled = 1;
 }
 
 		memset(ethModifiedDVDPrev, 0, 8);
 		ethGameCount = 0;
 		ethGames = NULL;
+		configGetInt(configGetByType(CONFIG_OPL), "eth_frames_delay", &ethGameList.delay);
 		gNetworkStartup = ERROR_ETH_NOT_STARTED;
 		ioPutRequest(IO_CUSTOM_SIMPLEACTION, &ethLoadModules);
 		ethGameList.enabled = 1;
 void hddInit(void) {
 	LOG("HDDSUPPORT Init\n");
 	hddForceUpdate = 1;
-
+	configGetInt(configGetByType(CONFIG_OPL), "hdd_frames_delay", &hddGameList.delay);
 	ioPutRequest(IO_CUSTOM_SIMPLEACTION, &hddInitModules);
-
 	hddGameList.enabled = 1;
 }
 
 	memset(usbModifiedDVDPrev, 0, 8);
 	usbGameCount = 0;
 	usbGames = NULL;
-
+	configGetInt(configGetByType(CONFIG_OPL), "usb_frames_delay", &usbGameList.delay);
 	ioPutRequest(IO_CUSTOM_SIMPLEACTION, &usbInitModules);
-
 	usbGameList.enabled = 1;
 }