mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
Fix compile error.
This commit is contained in:
parent
804860a75c
commit
2ed5fee4bb
@ -185,7 +185,7 @@ static void machine_config_detokenize(machine_config *config, const machine_conf
|
||||
tag = TOKEN_GET_STRING(tokens);
|
||||
device = device_list_add(&config->devicelist, devtype, device_build_tag(tempstring, owner, tag));
|
||||
if (device != NULL)
|
||||
device->owner = owner;
|
||||
device->owner = (device_config *)owner;
|
||||
break;
|
||||
|
||||
case MCONFIG_TOKEN_DEVICE_REMOVE:
|
||||
|
Loading…
Reference in New Issue
Block a user