Skip to content

Commit

Permalink
Removed some commented-out incorrect code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 17, 2016
1 parent 47f0748 commit 7dcce0c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions native/doscalls.c
Expand Up @@ -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
Expand Down

0 comments on commit 7dcce0c

Please sign in to comment.