Ignore:
Timestamp:
Aug 17, 1999, 2:44:46 PM (26 years ago)
Author:
sandervl
Message:

divewrap bugfixes + removal of FS save/restore macro calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2PALETTE.CPP

    r503 r522  
    1010#include "os2palset.h"
    1111#include <winerror.h>
    12 #include <odincrt.h>
    1312
    1413//******************************************************************************
     
    9796    if(me->Referenced == 0)
    9897    {
    99       ODIN_delete(me);
     98      delete(me);
    10099      return(0);
    101100    }
     
    142141    return(DDERR_INVALIDPARAMS);
    143142
    144   ODIN_FS_BEGIN
    145 
    146143  memcpy( (char *)lpEntries,
    147144          (char *)(me->os2pal + dwBase),
    148145          dwNumEntries*sizeof(PALETTEENTRY));
    149 
    150   ODIN_FS_END
    151146
    152147  return(DD_OK);
     
    176171    return(DDERR_INVALIDPARAMS);
    177172
    178   ODIN_FS_BEGIN
    179 
    180173  memcpy((char *)(me->os2pal + dwBase),
    181174         (char *)lpNewEntries,
    182175         dwNumEntries*sizeof(PALETTEENTRY));
    183 
    184   ODIN_FS_END
    185176
    186177  if(me->fAttachedToPrimary)
Note: See TracChangeset for help on using the changeset viewer.