mame/src/lib/formats/atari_dsk.cpp
2015-12-04 07:06:18 +01:00

38 lines
705 B
C++

// 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