This commit is contained in:
mahoneyt944 2024-11-10 02:52:23 -05:00 committed by GitHub
parent 6c05609dde
commit 6d54311553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,8 +48,8 @@ enum
void mame2003_video_get_geometry(struct retro_game_geometry *geom)
{
/* Shorter variable names, for readability */
unsigned max_w = video_config.width > Machine->drv->screen_width ? video_config.width : Machine->drv->screen_width;
unsigned max_h = video_config.height > Machine->drv->screen_height ? video_config.height : Machine->drv->screen_height;
unsigned max_w = video_config.width;
unsigned max_h = video_config.height;
unsigned vis_w = vis_width > 0 ? vis_width : max_w;
unsigned vis_h = vis_height > 0 ? vis_height : max_h;