mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-25 00:04:54 +02:00
fix PAL aspect ratio (#241)
This commit is contained in:
@@ -245,8 +245,8 @@ void rdp_close()
|
||||
|
||||
static void calculate_viewport(float *x, float *y, float *width, float *height)
|
||||
{
|
||||
const int32_t display_width = 320;
|
||||
const int32_t display_height = 240;
|
||||
const int32_t display_width = gfx_info.PAL ? 360 : 320;
|
||||
const int32_t display_height = gfx_info.PAL ? 288 : 240;
|
||||
|
||||
int w, h;
|
||||
SDL_GetWindowSize(window, &w, &h);
|
||||
|
||||
Reference in New Issue
Block a user