summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/atari_dsk.cpp
blob: d73cbf8185f0ecfe47f575a1b35697518db5c1f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/*********************************************************************

    formats/atari_dsk.c

    Atari disk images

*********************************************************************/

#include <assert.h>

#include "formats/atari_dsk.h"

static FLOPPY_IDENTIFY( atari_dsk_identify )
{
	*vote = 100;
	return FLOPPY_ERROR_SUCCESS;
}


static FLOPPY_CONSTRUCT( atari_dsk_construct )
{
	return FLOPPY_ERROR_SUCCESS;
}

LEGACY_FLOPPY_OPTIONS_START( atari_only )
	LEGACY_FLOPPY_OPTION(
		atari_dsk,
		"atr,dsk,xfd",
		"Atari floppy disk image",
		atari_dsk_identify,
		atari_dsk_construct,
		nullptr,
		nullptr
	)
LEGACY_FLOPPY_OPTIONS_END0