I’ve done this just recently using the Window Cast core and one of my Sega Genesis presets from my miniLED preset pack.
This is from the first time I got it working using the Window Cast Core:
I had to use the CTRL-ALT-T shortcut to switch focus back to the Game.