mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-01-24 09:01:13 +01:00
widescreen fix
This commit is contained in:
parent
adf61aef32
commit
f0662c9d37
@ -3,7 +3,8 @@
|
|||||||
*
|
*
|
||||||
* softdev July 2006
|
* softdev July 2006
|
||||||
* crunchy2 May 2007
|
* crunchy2 May 2007
|
||||||
* Michniewski 2008
|
* Michniewski 2008
|
||||||
|
* Tantric October 2008
|
||||||
*
|
*
|
||||||
* video.cpp
|
* video.cpp
|
||||||
*
|
*
|
||||||
@ -757,7 +758,7 @@ update_video (int width, int height)
|
|||||||
// aspect ratio scaling (change width scale)
|
// aspect ratio scaling (change width scale)
|
||||||
// yes its pretty cheap and ugly, but its easy!
|
// yes its pretty cheap and ugly, but its easy!
|
||||||
if (GCSettings.widescreen)
|
if (GCSettings.widescreen)
|
||||||
xscale -= (4.0*yscale)/9;
|
xscale = (3*xscale)/4;
|
||||||
|
|
||||||
xscale *= zoom_level;
|
xscale *= zoom_level;
|
||||||
yscale *= zoom_level;
|
yscale *= zoom_level;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user