From 8625fa5cb4bade8be42cf3fb28521dffe8fa2691 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 17 Oct 2022 00:02:15 +0200 Subject: [PATCH] Fixed compile with Win32 UI. --- src/win/win_settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/win_settings.c b/src/win/win_settings.c index 83a181c42..ff4eaf3b0 100644 --- a/src/win/win_settings.c +++ b/src/win/win_settings.c @@ -595,7 +595,7 @@ win_settings_save(void) /* Removable devices category */ memcpy(cdrom, temp_cdrom, CDROM_NUM * sizeof(cdrom_t)); for (i = 0; i < CDROM_NUM; i++) { - cdrom[i].img_fp = NULL; + cdrom[i].is_dir = 0; cdrom[i].priv = NULL; cdrom[i].ops = NULL; cdrom[i].image = NULL;