PAL aspect ratio adjustment (#242)

This commit is contained in:
Logan McNaughton 2025-02-12 10:14:06 +01:00 committed by GitHub
parent b67268ff62
commit 0faf33fcfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ void rdp_close()
static void calculate_viewport(float *x, float *y, float *width, float *height)
{
const int32_t display_width = gfx_info.PAL ? 360 : 320;
const int32_t display_width = gfx_info.PAL ? 384 : 320;
const int32_t display_height = gfx_info.PAL ? 288 : 240;
int w, h;

View File

@ -18,7 +18,7 @@ pub fn init(device: &mut device::Device) {
let mut window_width = 640;
let mut window_height = 480;
if device.cart.pal {
window_width = 720;
window_width = 768;
window_height = 576;
}
device.ui.window = unsafe {