hwcomponent: add floppy disk drive component type.

This commit is contained in:
Maxim Poliakovski 2022-02-06 15:20:07 +01:00
parent dea863b6e6
commit b25b526582

View File

@ -1,6 +1,6 @@
/* /*
DingusPPC - The Experimental PowerPC Macintosh emulator DingusPPC - The Experimental PowerPC Macintosh emulator
Copyright (C) 2018-21 divingkatae and maximum Copyright (C) 2018-22 divingkatae and maximum
(theweirdo) spatium (theweirdo) spatium
(Contact divingkatae#1017 or powermax#2286 on Discord for more info) (Contact divingkatae#1017 or powermax#2286 on Discord for more info)
@ -43,9 +43,10 @@ enum HWCompType {
SCSI_HOST = 1ULL << 21, /* SCSI host adapter */ SCSI_HOST = 1ULL << 21, /* SCSI host adapter */
SCSI_DEV = 1ULL << 22, /* SCSI device */ SCSI_DEV = 1ULL << 22, /* SCSI device */
SND_SERVER = 1ULL << 31, /* host sound server */ SND_SERVER = 1ULL << 31, /* host sound server */
FLOPPY_DRV = 1ULL << 32, /* floppy disk drive */
}; };
/** Abstract base class for HW components. */ /** Base class for HW components. */
class HWComponent { class HWComponent {
public: public:
HWComponent() = default; HWComponent() = default;