From: Toni Wilen Date: Fri, 27 Feb 2015 16:18:43 +0000 (+0200) Subject: Clear autoconfig configured state. X-Git-Tag: 3100~76 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=77c5f0cddfe58ee72a08eeb1789feecd5ad31f4a;p=francis%2Fwinuae.git Clear autoconfig configured state. --- diff --git a/idecontrollers.cpp b/idecontrollers.cpp index e9272181..1b535491 100644 --- a/idecontrollers.cpp +++ b/idecontrollers.cpp @@ -795,6 +795,7 @@ addrbank *gvp_ide_rom_autoconfig_init(int devnum) ide->rom_size = 16384; roms[0] = -1; } + ide->configured = 0; ide->mask = 65536 - 1; ide->type = GVP_IDE; ide->configured = 0; @@ -866,6 +867,8 @@ addrbank *alf_init(int devnum) bool alfplus = cfgfile_board_enabled(&currprefs, ROMTYPE_ALFAPLUS); struct romconfig *rc = NULL; + ide->configured = 0; + if (devnum > 0 && !ide->enabled) return &expamem_null; @@ -951,6 +954,7 @@ addrbank *apollo_init(int devnum) } ide = &apollo_board[devnum]; + ide->configured = 0; if (devnum > 0 && !ide->enabled) return &expamem_null; @@ -1020,6 +1024,8 @@ addrbank *masoboshi_init(int devnum) int roms[2]; ide = &masoboshi_board[devnum]; + ide->configured = 0; + if (devnum > 0 && !ide->enabled) return &expamem_null;