Fixed the emulator.

This commit is contained in:
OBattler
2021-12-19 23:41:23 +01:00
parent bc90f99350
commit 4d2ed33ff2
6 changed files with 19 additions and 13 deletions

View File

@@ -1039,6 +1039,12 @@ pc_reset_hard_init(void)
if (postcard_enabled)
device_add(&postcard_device);
/* Reset the CPU module. */
resetx86();
dma_reset();
pci_pic_reset();
cpu_cache_int_enabled = cpu_cache_ext_enabled = 0;
atfullspeed = 0;
pc_full_speed();