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(); } }