Fix build when compiling without NTSC filter support

- broke on last commit
- fixed 3ds build
This commit is contained in:
negativeExponent
2020-05-06 05:13:47 +08:00
parent b4c57771d2
commit a81cd5fcb5

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;