Reset purgable page list on reset. Fixes crashes when switching between machines.
This commit is contained in:
parent
a140d26315
commit
22977a4ff7
1 changed files with 3 additions and 0 deletions
|
|
@ -1486,6 +1486,9 @@ void mem_alloc()
|
||||||
mem_a20_key = 2;
|
mem_a20_key = 2;
|
||||||
mem_a20_alt = 0;
|
mem_a20_alt = 0;
|
||||||
mem_a20_recalc();
|
mem_a20_recalc();
|
||||||
|
|
||||||
|
purgable_page_list_head = 0;
|
||||||
|
purgeable_page_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void mem_reset_page_blocks()
|
void mem_reset_page_blocks()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue