Well I feel like a right wally. I applied your code above and it works! However, I must have been mistaken as Yoshi runs awfully with gles2n64 as the emu. I imagine this is why the author blacklisted it. Most of the screen is black, and when you can see elements you only get bits here and there.

God only knows what I was thinking. Apologies to Mitu for taking up your valuable time with this. :-(