summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/flopimg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/flopimg.h')
-rw-r--r--src/lib/formats/flopimg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/flopimg.h b/src/lib/formats/flopimg.h
index aba5189da69..8430ae8150b 100644
--- a/src/lib/formats/flopimg.h
+++ b/src/lib/formats/flopimg.h
@@ -157,9 +157,6 @@ LEGACY_FLOPPY_OPTIONS_EXTERN(default);
#define INTERLEAVE(range) "I" #range
#define FIRST_SECTOR_ID(range) "F" #range
-/* Max number of excess tracks to be discarded from disk image to fit floppy drive */
-#define DUMP_THRESHOLD 2
-
/***************************************************************************
Prototypes
@@ -591,6 +588,9 @@ protected:
uint8_t sbyte_mfm_r(const uint8_t *bitstream, int &pos, int track_size);
uint8_t sbyte_gcr5_r(const uint8_t *bitstream, int &pos, int track_size);
+ //! Max number of excess tracks to be discarded from disk image to fit floppy drive
+ enum { DUMP_THRESHOLD = 2 };
+
private:
enum { CRC_NONE, CRC_AMIGA, CRC_CBM, CRC_CCITT, CRC_CCITT_FM, CRC_MACHEAD, CRC_FCS, CRC_VICTOR_HDR, CRC_VICTOR_DATA };
enum { MAX_CRC_COUNT = 64 };