My pc popped and smoke came out so I unplugged and changed the switch from 150 to 230 and it popped again.
What has happened
What has happened
Which Corsair or SeaSonic psu as the pc is ASRock p4i65gI think that most likely the pop probably came from inside the PSU and if you take it apart you might even be able to see the damage.
I think that the PSU is probably toast and I would just replace it.
I would suggest for the manufacturer a Corsair (not the VS series) or any Seasonic power supply....and of course it needs to be large enough.