Set EAX to 0 on CPU reset - fixes hang with hard reset on PS/2.
This commit is contained in:
parent
8eaec50623
commit
6d1492ca05
1 changed files with 1 additions and 0 deletions
|
|
@ -651,6 +651,7 @@ void resetx86()
|
||||||
FETCHCLEAR();
|
FETCHCLEAR();
|
||||||
x87_reset();
|
x87_reset();
|
||||||
cpu_set_edx();
|
cpu_set_edx();
|
||||||
|
EAX = 0;
|
||||||
ESP=0;
|
ESP=0;
|
||||||
mmu_perm=4;
|
mmu_perm=4;
|
||||||
memset(inscounts, 0, sizeof(inscounts));
|
memset(inscounts, 0, sizeof(inscounts));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue