mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
92e7534f43
commit
23f1443949
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue