Changeset 7428 for trunk/src


Ignore:
Timestamp:
Nov 22, 2001, 4:40:46 PM (24 years ago)
Author:
phaller
Message:

removed FS: wrappers in timeGetTime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/winmm/time.cpp

    r6933 r7428  
    1 /* $Id: time.cpp,v 1.14 2001-10-03 13:47:59 sandervl Exp $ */
     1/* $Id: time.cpp,v 1.15 2001-11-22 15:40:46 phaller Exp $ */
    22
    33/*
     
    223223}
    224224
     225
     226#if 0
     227// Note: 2001-11-22
     228// WinGetCurrentTime does not touch the FS: selector.
     229// It just returns the content of a variable.
    225230ULONG OPEN32API WinGetCurrentTime(ULONG hab);
    226231
     
    238243#undef  WinGetCurrentTime
    239244#define WinGetCurrentTime _WinGetCurrentTime
     245#else
     246ULONG OPEN32API WinGetCurrentTime(ULONG hab);
     247#endif
    240248
    241249/*****************************************************************************
     
    283291DWORD WIN32API timeGetTime()
    284292{
    285  DWORD time;
     293#if 0
     294  //SvL: TODO: Inaccurate
     295  DWORD time = WinGetCurrentTime(0);
     296  dprintf2(("timeGetTime %x", time));
     297  return time;
     298#else
     299  return WinGetCurrentTime(0);
     300#endif
     301 
    286302#if 0
    287303 LARGE_INTEGER lint;
     
    297313  time = lint.LowPart/freq.LowPart;
    298314  dprintf2(("timeGetTime %x (%x:%x)", time, lint.LowPart, lint.HighPart));
    299 #else
    300   //SvL: TODO: Inaccurate
    301   time = WinGetCurrentTime(0);
    302   dprintf2(("timeGetTime %x", time));
    303315#endif
    304   return time;
    305 }
    306 
     316}
     317
Note: See TracChangeset for help on using the changeset viewer.