From f9870d6f020b55991aa1838bca70fd5379b0cefc Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 27 Sep 2022 07:30:52 +0200 Subject: ap2_dsk: Move the applesauce formats in their own file as_dsk: Create a common base class, merge what is currently identical --- src/lib/formats/all.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/lib/formats/all.cpp') diff --git a/src/lib/formats/all.cpp b/src/lib/formats/all.cpp index 5bae7c54707..30a1e103fc2 100644 --- a/src/lib/formats/all.cpp +++ b/src/lib/formats/all.cpp @@ -104,6 +104,10 @@ #include "asst128_dsk.h" #endif +#ifdef HAS_FORMATS_AS_DSK +#include "as_dsk.h" +#endif + #ifdef HAS_FORMATS_ATARI_DSK #include "atari_dsk.h" #endif @@ -753,10 +757,12 @@ void mame_formats_full_list(mame_formats_enumerator &en) en.add(FLOPPY_A216S_PRODOS_FORMAT); // ap2_dsk.h en.add(FLOPPY_RWTS18_FORMAT); // ap2_dsk.h en.add(FLOPPY_EDD_FORMAT); // ap2_dsk.h - en.add(FLOPPY_WOZ_FORMAT); // ap2_dsk.h - en.add(FLOPPY_MOOF_FORMAT); // ap2_dsk.h en.add(FLOPPY_NIB_FORMAT); // ap2_dsk.h #endif +#ifdef HAS_FORMATS_AS_DSK + en.add(FLOPPY_WOZ_FORMAT); // as_dsk.h + en.add(FLOPPY_MOOF_FORMAT); // as_dsk.h +#endif #ifdef HAS_FORMATS_AIM_DSK en.add(FLOPPY_AIM_FORMAT); // aim_dsk.h #endif -- cgit v1.2.3