(PSP) Refactor init_texture - hopefully this will work out for set_texture_frame