diff --git a/config.h b/config.h index 600ca6e38e..a7d7436988 100644 --- a/config.h +++ b/config.h @@ -48,7 +48,7 @@ //////////////// // Windowed -static const float xscale = 4.0; // Real x res = 256 * xscale +static const float xscale = 4.0; // Real x res = 296 * xscale static const float yscale = 4.0; // Real y res = 224 * yscale // Fullscreen @@ -62,7 +62,7 @@ static const bool vsync = true; // Smooths picture static const bool video_smooth = true; -// On resize and fullscreen, rendering area will stay 8:7 +// On resize and fullscreen, rendering area will stay 4:3 static const bool force_aspect = true; /////////// Video filters diff --git a/gl.c b/gl.c index 6f45be5580..1585af46e2 100644 --- a/gl.c +++ b/gl.c @@ -101,7 +101,8 @@ static void GLFWCALL resize(int width, int height) if ( keep_aspect ) { - float desired_aspect = 256.0/224.0; + //float desired_aspect = 256.0/224.0; + float desired_aspect = 296.0/224.0; float in_aspect = (float)width / height; if ( (int)(in_aspect*100) > (int)(desired_aspect*100) ) diff --git a/ssnes.c b/ssnes.c index c249af0541..42f670950f 100644 --- a/ssnes.c +++ b/ssnes.c @@ -114,7 +114,7 @@ static void init_video_input(void) #endif video_info_t video = { - .width = (fullscreen) ? fullscreen_x : (256 * xscale), + .width = (fullscreen) ? fullscreen_x : (296 * xscale), .height = (fullscreen) ? fullscreen_y : (224 * yscale), .fullscreen = fullscreen, .vsync = vsync,