mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-25 03:29:38 +00:00
hwcomponent: add floppy disk drive component type.
This commit is contained in:
parent
dea863b6e6
commit
b25b526582
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user