From e548646683ce544640d0caf5054b7130c7c9b45c Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 20 Nov 2003 18:12:13 +0000 Subject: [PATCH] Made cvs compilable again Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1456 --- src/cpu/paging.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpu/paging.cpp b/src/cpu/paging.cpp index b68538a9..cb376c5a 100644 --- a/src/cpu/paging.cpp +++ b/src/cpu/paging.cpp @@ -99,8 +99,9 @@ static Bits PageFaultCore(void) { return -1; return 0; } - +#if C_DEBUG Bitu DEBUG_EnableDebugger(void); +#endif void PAGING_PageFault(PhysPt lin_addr,Bitu page_addr,Bitu type) { /* Save the state of the cpu cores */ @@ -117,7 +118,9 @@ void PAGING_PageFault(PhysPt lin_addr,Bitu page_addr,Bitu type) { entry->page_addr=page_addr; //Caused by a write by default? CPU_Exception(14,0x2 | ((cpu.cpl>0) ? 0x1 : 0)); +#if C_DEBUG DEBUG_EnableDebugger(); +#endif DOSBOX_RunMachine(); pf_queue.used--; memcpy(&lflags,&old_lflags,sizeof(LazyFlags));