The ISA memory board and ISA RTC card types are now initialized to none in config.c before loading the configuration file;

Some more bug fixes in win_settings.c.
This commit is contained in:
OBattler
2018-09-03 14:45:55 +02:00
parent 5cc5da38ee
commit dc5913303b
2 changed files with 15 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
@@ -8,7 +8,7 @@
*
* Configuration file handler.
*
* Version: @(#)config.c 1.0.50 2018/09/02
* Version: @(#)config.c 1.0.51 2018/09/03
*
* Authors: Sarah Walker,
* Miran Grca, <mgrca8@gmail.com>
@@ -1334,6 +1334,9 @@ config_load(void)
}
mem_size = 640;
opl_type = 0;
isartc_type = 0;
for (i = 0; i < ISAMEM_MAX; i++)
isamem_type[i] = 0;
config_log("Config file not present or invalid!\n");
return;