From e902399035fee1837c3a7373ef61312bb223f745 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 14 Sep 2022 13:17:07 +0200 Subject: [PATCH] vid_table: Fix build with logging enabled --- src/video/vid_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_table.c b/src/video/vid_table.c index 79189cdc0..73ad0cdd3 100644 --- a/src/video/vid_table.c +++ b/src/video/vid_table.c @@ -330,7 +330,7 @@ video_reset(int card) /* Do not initialize internal cards here. */ if (!(card == VID_NONE) && !(card == VID_INTERNAL) && !machine_has_flags(machine, MACHINE_VIDEO_ONLY)) { - vid_table_log("VIDEO: initializing '%s'\n", video_cards[card].name); + vid_table_log("VIDEO: initializing '%s'\n", video_cards[card].device->name); video_prepare();