Re-organisation of video emulation.

This commit is contained in:
TomW 2013-06-24 20:42:35 +01:00
commit 58085bcc87
86 changed files with 8087 additions and 7229 deletions

View file

@ -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;
}
}
}
}