Quoted from rad:If it were my game, I'd fix that hack and I'd replace the connector and header (shows sign of heating/overheating).
This is the correct answer, but if it were me, I’m a big proponent of “if it ain’t broke, don’t fix it.” With my luck, I’d probably risk more damage to the board or inadvertently make things worse, so I’d keep it as-is, so long as it’s functioning as intended.