1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-05 10:13:51 +00:00

Merge pull request from sonninnos/msvc-buildfix

MSVC buildfix
This commit is contained in:
Autechre 2021-08-25 00:37:40 +02:00 committed by GitHub
commit 10e1f5d72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -310,11 +310,12 @@ static bool win32_display_server_set_resolution(void *data,
static int resolution_list_qsort_func(
const video_display_config_t *a, const video_display_config_t *b)
{
char str_a[64];
char str_b[64];
if (!a || !b)
return 0;
char str_a[64];
char str_b[64];
snprintf(str_a, sizeof(str_a), "%04dx%04d (%d Hz)",
a->width,
a->height,