mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
Merge branch 'master' of https://github.com/mamedev/mame
This commit is contained in:
commit
1b65a50948
@ -313,8 +313,8 @@ static void notifier_callback(const char *outname, INT32 value, void *param)
|
|||||||
// loop over clients and notify them
|
// loop over clients and notify them
|
||||||
for (client = clientlist; client != nullptr; client = client->next)
|
for (client = clientlist; client != nullptr; client = client->next)
|
||||||
{
|
{
|
||||||
printf("there are clients\n");
|
if (param == nullptr || param == client->machine) {
|
||||||
if (param == nullptr || param == client)
|
|
||||||
PostMessage(client->hwnd, om_mame_update_state, client->machine->output().name_to_id(outname), value);
|
PostMessage(client->hwnd, om_mame_update_state, client->machine->output().name_to_id(outname), value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user