Re-organisation of video emulation.
This commit is contained in:
parent
b9062a1d0c
commit
58085bcc87
86 changed files with 8087 additions and 7229 deletions
20
src/device.c
20
src/device.c
|
|
@ -57,3 +57,23 @@ void device_speed_changed()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
char *device_add_status_info(char *s, int max_len)
|
||||
{
|
||||
int c;
|
||||
|
||||
s[0] = 0;
|
||||
|
||||
for (c = 0; c < 256; c++)
|
||||
{
|
||||
if (devices[c] != NULL)
|
||||
{
|
||||
if (devices[c]->add_status_info != NULL)
|
||||
{
|
||||
int len = devices[c]->add_status_info(s, max_len, device_priv[c]);
|
||||
s += len;
|
||||
max_len -= len;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue