From b957a45da038baf498eb841429f0b419b18fde31 Mon Sep 17 00:00:00 2001 From: RehabMan Date: Sat, 6 Feb 2016 17:31:33 -0800 Subject: [PATCH] fix ACPI configuration issue (#10 from CodecCommander) --- VoodooPS2Controller/VoodooPS2Controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoodooPS2Controller/VoodooPS2Controller.cpp b/VoodooPS2Controller/VoodooPS2Controller.cpp index e258194..a17c9e0 100644 --- a/VoodooPS2Controller/VoodooPS2Controller.cpp +++ b/VoodooPS2Controller/VoodooPS2Controller.cpp @@ -2296,7 +2296,7 @@ OSObject* ApplePS2Controller::translateArray(OSArray* array) { if (OSObject* obj = translateEntry(array->getObject(i))) { - array->setObject(i, obj); + array->replaceObject(i, obj); obj->release(); } }