Merge pull request #357 from negativeExponent/3ds_buildfix

Fix build when compiling without NTSC filter support
This commit is contained in:
hizzlekizzle
2020-05-05 16:27:51 -05:00
committed by GitHub

View File

@@ -970,7 +970,11 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
#endif
info->geometry.base_width = width;
info->geometry.base_height = height;
#ifdef HAVE_NTSC_FILTER
info->geometry.max_width = (use_ntsc ? NTSC_WIDTH : NES_WIDTH);
#else
info->geometry.max_width = NES_WIDTH;
#endif
info->geometry.max_height = NES_HEIGHT;
info->geometry.aspect_ratio = (float)(use_par ? NES_8_7_PAR : NES_4_3);
info->timing.sample_rate = (float)sndsamplerate;