From ec6f6f4f9e89bbab102e0c4365ba563767fb0b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Tue, 12 Jul 2022 10:18:52 +0200 Subject: [PATCH] Set `MONITORS_NUM` to 2 There is no reason to declare more monitor instances than we support --- src/include/86box/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/86box/video.h b/src/include/86box/video.h index eca390975..83358e653 100644 --- a/src/include/86box/video.h +++ b/src/include/86box/video.h @@ -130,7 +130,7 @@ typedef struct monitor_settings_t { int mon_window_h; } monitor_settings_t; -#define MONITORS_NUM 8 +#define MONITORS_NUM 2 extern monitor_t monitors[MONITORS_NUM]; extern monitor_settings_t monitor_settings[MONITORS_NUM]; extern atomic_bool doresize_monitors[MONITORS_NUM];