netlist: Fix OSX compile. (nw)

This commit is contained in:
couriersud 2020-05-22 00:55:02 +02:00
parent 6141fa4a9c
commit 363485b628

View File

@ -1364,7 +1364,7 @@ void netlist_mame_cpu_device::device_start()
void netlist_mame_cpu_device::nl_register_devices(netlist::nlparse_t &parser) const
{
parser.factory().add<nld_analog_callback>( "NETDEV_CALLBACK",
netlist::factory::properties("-", std::move(PSOURCELOC())));
netlist::factory::properties("-", PSOURCELOC()));
}
uint64_t netlist_mame_cpu_device::execute_clocks_to_cycles(uint64_t clocks) const noexcept
@ -1524,9 +1524,9 @@ void netlist_mame_sound_device::device_start()
void netlist_mame_sound_device::nl_register_devices(netlist::nlparse_t &parser) const
{
parser.factory().add<nld_sound_out>("NETDEV_SOUND_OUT",
netlist::factory::properties("+CHAN", std::move(PSOURCELOC())));
netlist::factory::properties("+CHAN", PSOURCELOC()));
parser.factory().add<nld_sound_in>("NETDEV_SOUND_IN",
netlist::factory::properties("-", std::move(PSOURCELOC())));
netlist::factory::properties("-", PSOURCELOC()));
}
void netlist_mame_sound_device::device_clock_changed()