Fix for ROMs not loading properly on many machines - my bad.

This commit is contained in:
waltje
2017-10-13 02:41:17 -04:00
parent 724e5c44df
commit 97b3ca3430
12 changed files with 10 additions and 34 deletions

View File

@@ -8,7 +8,7 @@
*
* Handling of the emulated machines.
*
* Version: @(#)machine.c 1.0.18 2017/10/07
* Version: @(#)machine.c 1.0.19 2017/10/12
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -140,7 +140,11 @@ machine_init(void)
{
pclog("Initializing as \"%s\"\n", machine_getname());
AMSTRAD = AT = PCI = TANDY = 0;
/* Set up the architecture flags. */
AT = IS_ARCH(machine, MACHINE_AT);
PCI = IS_ARCH(machine, MACHINE_PCI);
AMSTRAD = IS_ARCH(machine, MACHINE_AMSTRAD);
TANDY = 0;
/* Load the machine's ROM BIOS. */
rom_load_bios(romset);