Reimplement S3 ViRGE reset and move PCI TRC CPU reset to outside the recompiled block, fixes #2903.

This commit is contained in:
OBattler
2024-06-12 20:46:27 +02:00
parent 1169ce68a5
commit a369bc2d05
6 changed files with 68 additions and 98 deletions

View File

@@ -23,6 +23,7 @@
#include <86box/86box.h>
#include <86box/machine.h>
#include "cpu.h"
#include "x86.h"
#include <86box/io.h>
#include <86box/pic.h>
#include <86box/mem.h>
@@ -420,7 +421,14 @@ pci_trc_reset(uint8_t val)
flushmmucache();
}
#ifdef USE_DYNAREC
if (cpu_use_dynarec)
cpu_init = 1;
else
resetx86();
#else
resetx86();
#endif
}
void