Fixed the floppy-error bug on VC builds (was uninited variable in fdd_img.c)

Made the CD=ROM ioctl support code conditional, as per OBattler's concerns over that code.
This commit is contained in:
waltje
2018-05-09 01:48:40 -04:00
parent 89b379d785
commit 6bc2044b73
13 changed files with 71 additions and 45 deletions

View File

@@ -11,7 +11,7 @@
* This code is called by the UI frontend modules, and, also,
* depends on those same modules for lower-level functions.
*
* Version: @(#)ui_main.c 1.0.11 2018/05/08
* Version: @(#)ui_main.c 1.0.12 2018/05/08
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*
@@ -147,8 +147,10 @@ ui_menu_set_logging_item(int idm, int val)
#endif
#ifdef ENABLE_CDROM_IOCTL_LOG
# ifdef USE_CDROM_IOCTL
case IDM_LOG_CDROM_IOCTL:
ptr = &cdrom_ioctl_do_log;
# endif
break;
#endif