It is ok to use a generic power supply but for only a very limited time and under a light application. A good practice would be to replace it with a PSU from a reputable brand as it is worth it. Generic power supplies can last for 2 to 4 years.