Removed some commented-out incorrect code.

This commit is contained in:
Ryan C. Gordon committed 2016-10-17 15:53:11 -04:00
1 parent 47f074837a
commit 7dcce0cbd8
1 file changed
-4
-4
View File
@@ -608,10 +608,6 @@ APIRET DosSetExceptionHandler(PEXCEPTIONREGISTRATIONRECORD rec)
ULONG DosFlatToSel(PVOID ptr)
{
// this actually passes the arg in eax instead of the stack.
//uint32 eax = 0;
//__asm__ __volatile__ ("" : "=a" (eax));
//TRACE_NATIVE("DosFlatToSel(%p)", (void *) (size_t) eax);
TRACE_NATIVE("DosFlatToSel(%p)", ptr);
return ((ULONG) ((size_t)ptr)) >> 16; // !!! FIXME
} // DosFlatToSel