How to render MAME Emulator window into a texture.

How to render MAME emulator window into a realtime texture I can use on my Pac-Man machine in Unity3D?

RenderTexture can do that…? o.e

See Get the windows as textures to put in Unity3D. - Unity Answers