m4ntis / bones

A NES emulation library for go
GNU General Public License v3.0
14 stars 0 forks source link

Output to several displays #8

Open m4ntis opened 6 years ago

m4ntis commented 6 years ago

Change the display the ppu gets to a slice and then publish each frame foreach display

kubistika commented 6 years ago

That's a nice idea, but I think that you should not break the current API. Instead, you can implement a new ppu.Displayer, a decorator which will retain a slice of displayers, and call each one of them when its Display method is invoked.