diff options
author | 2021-03-04 10:49:33 +0100 | |
---|---|---|
committer | 2021-03-05 10:17:20 +0100 | |
commit | 92326e47afea2dd65ec6b5ec842454fc74f046cc (patch) | |
tree | 515de40cefa3c48bf30869f9031fbf78e4ba45d4 /src/lib/formats/all.cpp | |
parent | f7011c21e11e988ec26d095f48b9070760c72bc3 (diff) |
floppy: Beginning of the support for preformatted floppy images.
What's missing:
- parameters (like the disk name when it exists)
- possibly a cleanup of ram_open and friends (but not sure of the appropriate direction in which to go)
Diffstat (limited to 'src/lib/formats/all.cpp')
-rw-r--r-- | src/lib/formats/all.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/formats/all.cpp b/src/lib/formats/all.cpp index dbdc3be4d9b..2d4d48fef5b 100644 --- a/src/lib/formats/all.cpp +++ b/src/lib/formats/all.cpp @@ -19,6 +19,7 @@ #include "pc_dsk.h" #include "d88_dsk.h" #include "dfi_dsk.h" +#include "fs_unformatted.h" #ifdef HAS_FORMATS_2D_DSK #include "2d_dsk.h" @@ -664,9 +665,14 @@ #include "zx81_p.h" #endif +#ifdef HAS_FORMATS_FS_PRODOS +#include "fs_prodos.h" +#endif + void mame_formats_full_list(mame_formats_enumerator &en) { en.category("Generic"); + en.add(FS_UNFORMATTED); en.add(cassette_default_formats); #ifdef HAS_FORMATS_UEF_CAS en.add(uef_cassette_formats); // uef_cas.h @@ -689,6 +695,9 @@ void mame_formats_full_list(mame_formats_enumerator &en) #endif en.category("Apple"); +#ifdef HAS_FORMATS_FS_PRODOS + en.add(FS_PRODOS); +#endif #ifdef HAS_FORMATS_AP2_DSK en.add(FLOPPY_A216S_FORMAT); // ap2_dsk.h en.add(FLOPPY_RWTS18_FORMAT); // ap2_dsk.h |