diff --git a/src/video/vid_table.c b/src/video/vid_table.c index eb999eb3f..c417229dc 100644 --- a/src/video/vid_table.c +++ b/src/video/vid_table.c @@ -343,16 +343,6 @@ video_reset(int card) monitor_index_global = 0; loadfont("roms/video/mda/mda.rom", 0); - /* 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].device->name); - - video_prepare(); - - /* Initialize the video card. */ - device_add(video_cards[card].device); - } - if (!(card == VID_NONE) && !machine_has_flags(machine, MACHINE_VIDEO_ONLY) && gfxcard[1] != 0 @@ -363,6 +353,16 @@ video_reset(int card) monitor_index_global = 0; } + /* 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].device->name); + + video_prepare(); + + /* Initialize the video card. */ + device_add(video_cards[card].device); + } + /* Enable the Voodoo if configured. */ if (voodoo_enabled) device_add(&voodoo_device);