PCjr: Correctly implement wait states, fixes #3140.

This commit is contained in:
OBattler
2025-07-10 02:34:26 +02:00
parent 7170592d14
commit 44fd79b78d
8 changed files with 34 additions and 3 deletions

View File

@@ -829,6 +829,8 @@ machine_pcjr_init(UNUSED(const machine_t *model))
pcjr = calloc(1, sizeof(pcjr_t));
is_pcjr = 1;
pic_init_pcjr();
pit_common_init(0, pit_irq0_timer_pcjr, NULL);

View File

@@ -123,6 +123,8 @@ machine_init_ex(int m)
pci_flags = 0x00000000;
}
is_pcjr = 0;
/* All good, boot the machine! */
if (machines[m].init)
ret = machines[m].init(&machines[m]);