summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/amstrad.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/amstrad.c')
-rw-r--r--src/mess/drivers/amstrad.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mess/drivers/amstrad.c b/src/mess/drivers/amstrad.c
index 68ed77afdf0..d86bd318ca7 100644
--- a/src/mess/drivers/amstrad.c
+++ b/src/mess/drivers/amstrad.c
@@ -105,6 +105,7 @@ Some bugs left :
#include "imagedev/cartslot.h"
#include "imagedev/cassette.h"
#include "formats/tzx_cas.h"
+#include "formats/dsk_dsk.h"
#include "machine/ram.h"
@@ -883,12 +884,15 @@ static MACHINE_CONFIG_START( amstrad_nofdc, amstrad_state )
MCFG_RAM_DEFAULT_SIZE("128K")
MACHINE_CONFIG_END
+FLOPPY_FORMATS_MEMBER( amstrad_state::floppy_formats )
+ FLOPPY_DSK_FORMAT
+FLOPPY_FORMATS_END
static MACHINE_CONFIG_DERIVED( amstrad, amstrad_nofdc )
MCFG_UPD765A_ADD("upd765", true, true)
- MCFG_FLOPPY_DRIVE_ADD("upd765:0", amstrad_floppies, "3ssdd", 0, floppy_image_device::default_floppy_formats)
- MCFG_FLOPPY_DRIVE_ADD("upd765:1", amstrad_floppies, "3ssdd", 0, floppy_image_device::default_floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD("upd765:0", amstrad_floppies, "3ssdd", 0, amstrad_state::floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD("upd765:1", amstrad_floppies, "3ssdd", 0, amstrad_state::floppy_formats)
MCFG_SOFTWARE_LIST_ADD("flop_list","cpc_flop")
MACHINE_CONFIG_END