PCjr: Correctly implement wait states, fixes #3140.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user