File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ typedef struct
4242 unsigned char ForceRefresh ;
4343} bdm_device_data_t ;
4444
45- void bdmInit (item_list_t * itemList );
4645int bdmFindPartition (char * target , const char * name , int write );
4746void bdmLoadModules (void );
4847void bdmLaunchGame (item_list_t * itemList , int id , config_set_t * configSet );
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ void bdmLoadModules(void)
136136 LOG ("BDMSUPPORT Modules loaded\n" );
137137}
138138
139- void bdmInit (item_list_t * itemList )
139+ static void bdmInit (item_list_t * itemList )
140140{
141141 LOG ("BDMSUPPORT Init\n" );
142142
@@ -147,6 +147,7 @@ void bdmInit(item_list_t *itemList)
147147 pDeviceData -> bdmGameCount = 0 ;
148148 pDeviceData -> bdmGames = NULL ;
149149 configGetInt (configGetByType (CONFIG_OPL ), "usb_frames_delay" , & itemList -> delay );
150+ bdmLoadModules ();
150151 itemList -> enabled = 1 ;
151152}
152153
You can’t perform that action at this time.
0 commit comments