mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Use kPRMachineCustom as an override to the machineType protection
This commit is contained in:
@@ -58,7 +58,7 @@ PRDevice* PRDevice::Create(PRMachineType machineType)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (machineType != dev->GetReadMachineType())
|
if (machineType != kPRMachineCustom && machineType != dev->GetReadMachineType())
|
||||||
{
|
{
|
||||||
dev->Close();
|
dev->Close();
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user