Skip to content

Commit 5c6c74f

Browse files
committed
All devices are equal (allow disabling USB) - FIX
1 parent 30587b9 commit 5c6c74f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/bdmsupport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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);
4645
int bdmFindPartition(char *target, const char *name, int write);
4746
void bdmLoadModules(void);
4847
void bdmLaunchGame(item_list_t *itemList, int id, config_set_t *configSet);

src/bdmsupport.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)