mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 19:13:45 +00:00
commit
10e1f5d72a
@ -310,11 +310,12 @@ static bool win32_display_server_set_resolution(void *data,
|
|||||||
static int resolution_list_qsort_func(
|
static int resolution_list_qsort_func(
|
||||||
const video_display_config_t *a, const video_display_config_t *b)
|
const video_display_config_t *a, const video_display_config_t *b)
|
||||||
{
|
{
|
||||||
|
char str_a[64];
|
||||||
|
char str_b[64];
|
||||||
|
|
||||||
if (!a || !b)
|
if (!a || !b)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
char str_a[64];
|
|
||||||
char str_b[64];
|
|
||||||
snprintf(str_a, sizeof(str_a), "%04dx%04d (%d Hz)",
|
snprintf(str_a, sizeof(str_a), "%04dx%04d (%d Hz)",
|
||||||
a->width,
|
a->width,
|
||||||
a->height,
|
a->height,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user