emu-rs / rustual-boy

Rustual Boy - A Virtual Boy emulator.
https://rustualboy.com/
Apache License 2.0
232 stars 30 forks source link

Hardcoded window size and display resolution #27

Open sbercx opened 7 years ago

sbercx commented 7 years ago

I made a side by side stereoscopy middleware that renders the left and right frame buffer side by side, so that you can view them with crossed eyes to achieve stereoscopy. This works great, but currently requires you to double the hardcoded width of both the window and the display resolution.

How should this problem be tackled?

yupferris commented 7 years ago

Nice one!

I've thought a bit about this, and I think generalizing a bit over frame data and adding width/height info to the frames as they go through the sinks is probably a good option, but I'm not 100% sure yet. I'd like to know what our libretro options look like first to see if changing this dynamically makes sense or not.