Attempted revert back to resetx86() with a mem.c fix.
This commit is contained in:
@@ -1059,7 +1059,7 @@ write_output(atkbd_t *dev, uint8_t val)
|
||||
if ((dev->output_port ^ val) & 0x01) { /*Reset*/
|
||||
if (! (val & 0x01)) {
|
||||
/* Pin 0 selected. */
|
||||
softresetx86(); /*Pulse reset!*/
|
||||
resetx86(); /*Pulse reset!*/
|
||||
cpu_set_edx();
|
||||
}
|
||||
}
|
||||
|
@@ -2861,9 +2861,11 @@ mem_reset_page_blocks(void)
|
||||
#ifdef USE_NEW_DYNAREC
|
||||
pages[c].block = BLOCK_INVALID;
|
||||
pages[c].block_2 = BLOCK_INVALID;
|
||||
pages[c].head = BLOCK_INVALID;
|
||||
#else
|
||||
pages[c].block[0] = pages[c].block[1] = pages[c].block[2] = pages[c].block[3] = NULL;
|
||||
pages[c].block_2[0] = pages[c].block_2[1] = pages[c].block_2[2] = pages[c].block_2[3] = NULL;
|
||||
pages[c].head = NULL;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user