Ignore:
Timestamp:
May 28, 2000, 6:50:46 PM (25 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/drv16/init.cpp

    r147 r151  
    6363#define PCI_DEVICE_ID_CREATIVE_EMU10K1 0x0002UL
    6464#endif
    65 #define PCI_ID  ((PCI_VENDOR_ID_CREATIVE<<16UL)|PCI_DEVICE_ID_CREATIVE_EMU10K1)
     65#define PCI_ID  ((PCI_DEVICE_ID_CREATIVE_EMU10K1<<16UL)|PCI_VENDOR_ID_CREATIVE)
    6666
    6767// Default MIDI timer interval, milliseconds.
     
    133133      memcpy(phdr->abName,szCL_DevName,8);   // yes, copy it to the dev header
    134134
    135    pRM = new ResourceManager();        // Create the RM object.
     135   pRM = new ResourceManager(PCI_ID);        // Create the RM object.
    136136   if (! pRM) {
    137137      return;
     
    156156   // First create a timer, then the HW object.
    157157   TIMER* pMPUTimer =
    158        new TIMER( NULL, MIDI_TimerInterval, STREAM_MPU401_PLAY );
     158       new TIMER(NULL, MIDI_TimerInterval, STREAM_MPU401_PLAY );
    159159   if (pMPUTimer->eState() != TIMER_Disabled)
    160160         new MPU_401(pMPUTimer);
Note: See TracChangeset for help on using the changeset viewer.