* (at your option):
* - GNU GPL, version 2 or later.
* - GNU LGPL, version 2.1 or later.
+ * - MAME license.
* See the COPYING file in the top-level directory.
*/
return -1;
}
-void config_read_keys(const char *cfg)
+void config_read_keys(const char *cfg_content)
{
char dev[256], key[128], *act;
const char *p;
int bind, bindtype;
int dev_id;
- p = cfg;
+ p = cfg_content;
while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) {
p += 10;