A multi-platform Atari 2600 Emulator
Go to file
stephena 6983686e91 Added the ability to change the aspect ratio of the screen in the SDL
OpenGL port.  Normally, the window is double the native TIA frame
width, so we always get a ratio of 2.0 (2:1).

Now, if you're using OpenGL mode, the '-gl_aspect' commandline argument
can take a decimal number representing the ratio you want to use.
For example, normal TV mode would be 1.3333 (4:3).

Depending on the resolution you use, you can make the window look much
more like the original Atari.  I find that in 1600x1200 mode, an
aspect of 1.6 looks quite authentic.

This is only supported in the SDL OpenGL port for now, since changing
the aspect took only 1 line of code (I love 3D graphics :)  It may
never be supported in software SDL, since it is quite a bit harder
to do it in software.

Ditto for the Cyberstella DirectDraw7 code (it will probably never be
implemented, unless hardware scaling is available).  If/when I get
around to the Direct3D port, it will be trivial to do there as well.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@211 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2003-11-17 17:43:39 +00:00
CVSROOT Add syncmail as a admin file to checkout. 2001-12-27 20:02:13 +00:00
stella Added the ability to change the aspect ratio of the screen in the SDL 2003-11-17 17:43:39 +00:00