atmega8 not responding after cable disconnected mid upload

So i was trying to upload a sketch i made on to an atmega8 using arduino as isp programmer and then i noticed that the board was set to something else that i don't remember but anyways i disconnected the cable (which was a stupid decision) and now my atmega8 is not responding , is it bricked or is there a way revive it?

So uh... its actually been about 6 months since i broke them so i tried to install the bootloader and it seems to work again