mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Fixed network output to include all data [headkaze]
This commit is contained in:
parent
5d5bf3813d
commit
eb2617f7ae
@ -67,7 +67,12 @@ public:
|
||||
|
||||
// output_module
|
||||
|
||||
virtual void notify(const char *outname, INT32 value) override { m_server->send_to_all((const uint8_t*)outname, strlen(outname)); }
|
||||
virtual void notify(const char *outname, INT32 value) override
|
||||
{
|
||||
static char buf[256];
|
||||
sprintf(buf, "%s = %d\n", ((outname==nullptr) ? "none" : outname), value);
|
||||
m_server->send_to_all((const uint8_t*)buf, strlen(buf));
|
||||
}
|
||||
|
||||
// implementation
|
||||
void process_output()
|
||||
|
Loading…
Reference in New Issue
Block a user