Set base_width/base_height to sane dimensions (480x272)

base_width/base_height should be set to the lowest/default PSP internal resolution, which in this case is 480x272. Setting base_width/height the same as max_width/max_height would create problems with windowed mode in RetroArch, it would try to create a huge window (often times far exceeding the desktop size).
This commit is contained in:
Autechre 2021-08-15 10:03:19 +02:00 committed by GitHub
parent 92e7534f43
commit 23f1443949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -495,8 +495,8 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
info->timing.fps = 60.0f / 1.001f;
info->timing.sample_rate = SAMPLERATE;
info->geometry.base_width = g_Config.iInternalResolution * 480;
info->geometry.base_height = g_Config.iInternalResolution * 272;
info->geometry.base_width = 480;
info->geometry.base_height = 272;
info->geometry.max_width = g_Config.iInternalResolution * 480;
info->geometry.max_height = g_Config.iInternalResolution * 272;
info->geometry.aspect_ratio = 480.0 / 272.0; // Not 16:9! But very, very close.