Commit 40bb516
committed
First one set ESP before the fault, it should be the other
way around, and cause a GPF in BC31, because the stack was
wrong after the first fault. Second one was calling SetSegProt
for real mode segments which I noticed looking at that code.
Fixes dosemu2#2659
1 parent 6c68c64 commit 40bb516
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3142 | 3142 | | |
3143 | 3143 | | |
3144 | 3144 | | |
3145 | | - | |
3146 | 3145 | | |
3147 | 3146 | | |
3148 | 3147 | | |
3149 | 3148 | | |
3150 | | - | |
3151 | | - | |
3152 | | - | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
3153 | 3155 | | |
3154 | 3156 | | |
3155 | 3157 | | |
| |||
0 commit comments