Theres a bug in the configuration api with the function ConfigSetParameter. For some reason (that hurts my head to think about) if you pass a c++ type bool to ConfigSetParameter for the function parameter ParamValue it will always set the mupen64plus core parameter to true. If you make an int, cast the bool to an int, assign the int to the casted bool and then pass the int it works just fine.