SCSI controller is now once again reset on soft reset, but this time this is handled in a more appropriate way;

Fixed some copyright headers.
This commit is contained in:
OBattler
2017-06-14 03:03:29 +02:00
parent eb02faea83
commit eb8b8e3766
11 changed files with 115 additions and 40 deletions

View File

@@ -73,6 +73,22 @@ void device_close_all()
}
}
void *device_get_priv(device_t *d)
{
int c;
for (c = 0; c < 256; c++)
{
if (devices[c] != NULL)
{
if (devices[c] == d)
return device_priv[c];
}
}
return NULL;
}
int device_available(device_t *d)
{
#ifdef RELEASE_BUILD