The fix is in

what exactly does "the fix is in" mean? does it mean that an illegal deal has been agreed upon?

Yes. Specifically, somone has been bribed to assure a favorable outcome.