changed void *getHWData to retro_hw_render_callback, my mistake