Fix starting screen geometry for non-SMS games

This commit is contained in:
negativeExponent 2020-01-12 11:36:45 +08:00
parent 29e4d52eaf
commit 9ef31ae48c
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ log.txt
./sms_sdl
*.ipk
*.so
.vscode

View File

@ -547,10 +547,10 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
info->timing.fps = 60.0;
info->timing.sample_rate = 44100.0;
info->geometry.base_width = 256;
info->geometry.base_height = 192;
info->geometry.max_width = 256;
info->geometry.max_height = 192;
info->geometry.base_width = width;
info->geometry.base_height = height;
info->geometry.max_width = width;
info->geometry.max_height = height;
info->geometry.aspect_ratio = 4.0 / 3.0;
}