Ejemplo n.º 1
0
void file_system_event_playback(unsigned int unit, const char *filename)
{
    if (filename == NULL || filename[0] == 0)
        file_system_detach_disk_internal(unit);
    else
        file_system_attach_disk_internal(unit, filename);
}
Ejemplo n.º 2
0
void file_system_detach_disk(int unit)
{
	char event_data[2];

	if (event_playback_active())
		return;

	event_data[0] = (char)unit;
	event_data[1] = 0;

	file_system_detach_disk_internal(unit);
}
Ejemplo n.º 3
0
void file_system_detach_disk(int unit)
{
    char event_data[2];

    if (event_playback_active())
        return;

    event_data[0] = (char)unit;
    event_data[1] = 0;

    if (network_connected()) {
        network_event_record(EVENT_ATTACHDISK, (void *)event_data, 2);
        return;
    }

   file_system_detach_disk_internal(unit);
}