From 24a2ab662e329c62f43304dd92537b4f9d9478e3 Mon Sep 17 00:00:00 2001 From: gstellenberg Date: Sun, 27 Sep 2009 00:37:47 -0500 Subject: [PATCH] Use kPRMachineCustom as an override to the machineType protection --- src/PRDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PRDevice.cpp b/src/PRDevice.cpp index 6bda82b..9e57817 100644 --- a/src/PRDevice.cpp +++ b/src/PRDevice.cpp @@ -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;