diff --git a/subsystems/ntvdm/ntvdm.h b/subsystems/ntvdm/ntvdm.h index 89d02ffc338..d95402aece7 100644 --- a/subsystems/ntvdm/ntvdm.h +++ b/subsystems/ntvdm/ntvdm.h @@ -25,6 +25,7 @@ #include #include +// #include "registers.h" #include diff --git a/subsystems/ntvdm/registers.c b/subsystems/ntvdm/registers.c index fb86517b841..d3d5ce16675 100644 --- a/subsystems/ntvdm/registers.c +++ b/subsystems/ntvdm/registers.c @@ -11,7 +11,6 @@ #define NDEBUG #include "emulator.h" -#include "registers.h" /* PUBLIC FUNCTIONS ***********************************************************/ diff --git a/subsystems/ntvdm/registers.h b/subsystems/ntvdm/registers.h index e36e75966a0..09568f3b7a8 100644 --- a/subsystems/ntvdm/registers.h +++ b/subsystems/ntvdm/registers.h @@ -13,6 +13,7 @@ VOID EmulatorSetStack(WORD Segment, DWORD Offset); +#if 0 // Those function prototypes are already included via ddk/vddsvc.h PVOID WINAPI getIntelRegistersPointer(VOID); @@ -115,6 +116,8 @@ VOID WINAPI setEFLAGS(ULONG); USHORT WINAPI getMSW(VOID); VOID WINAPI setMSW(USHORT); +#endif + #endif // _REGISTERS_H_ /* EOF */ diff --git a/subsystems/ntvdm/vddsup.c b/subsystems/ntvdm/vddsup.c index 2964c1e9ad8..c37c74a62f6 100644 --- a/subsystems/ntvdm/vddsup.c +++ b/subsystems/ntvdm/vddsup.c @@ -14,7 +14,6 @@ #include "vddsup.h" #include "bop.h" -#include "registers.h" #include