1
0
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:
gstellenberg
2009-09-27 00:37:47 -05:00
parent 600845fe52
commit 24a2ab662e

View File

@@ -58,7 +58,7 @@ PRDevice* PRDevice::Create(PRMachineType machineType)
return NULL;
}
if (machineType != dev->GetReadMachineType())
if (machineType != kPRMachineCustom && machineType != dev->GetReadMachineType())
{
dev->Close();
return NULL;