Removed some commented-out incorrect code.
This commit is contained in:
1 parent
47f074837a
commit
7dcce0cbd8
1 file changed
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user