mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-24 12:17:35 +00:00
Add type and description to device descriptors.
Add supports_types to device descriptors so that we can determine supported types without having to create the hardware device. Add description so that each device can have an optional description.
This commit is contained in:
@@ -831,7 +831,7 @@ static std::vector<std::string> Amic_Subdevices = {
|
||||
};
|
||||
|
||||
static const DeviceDescription Amic_Descriptor = {
|
||||
AMIC::create, Amic_Subdevices, {}
|
||||
AMIC::create, Amic_Subdevices, {}, HWCompType::MMIO_DEV | HWCompType::INT_CTRL
|
||||
};
|
||||
|
||||
REGISTER_DEVICE(Amic, Amic_Descriptor);
|
||||
|
||||
Reference in New Issue
Block a user