mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Normal core bugfix: Guest page fault exception should provide the fault address, it might help things out
This commit is contained in:
@@ -408,6 +408,7 @@ static Bitu Normal_Loop(void) {
|
|||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
FillFlags();
|
FillFlags();
|
||||||
|
paging.cr2=pf.lin_addr;
|
||||||
dosbox_allow_nonrecursive_page_fault = false;
|
dosbox_allow_nonrecursive_page_fault = false;
|
||||||
CPU_Exception(EXCEPTION_PF, pf.faultcode);
|
CPU_Exception(EXCEPTION_PF, pf.faultcode);
|
||||||
dosbox_allow_nonrecursive_page_fault = saved_allow;
|
dosbox_allow_nonrecursive_page_fault = saved_allow;
|
||||||
|
Reference in New Issue
Block a user