Changeset 151 for sbliveos2/trunk/drv16/init.cpp
- Timestamp:
- May 28, 2000, 6:50:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/drv16/init.cpp
r147 r151 63 63 #define PCI_DEVICE_ID_CREATIVE_EMU10K1 0x0002UL 64 64 #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) 66 66 67 67 // Default MIDI timer interval, milliseconds. … … 133 133 memcpy(phdr->abName,szCL_DevName,8); // yes, copy it to the dev header 134 134 135 pRM = new ResourceManager( ); // Create the RM object.135 pRM = new ResourceManager(PCI_ID); // Create the RM object. 136 136 if (! pRM) { 137 137 return; … … 156 156 // First create a timer, then the HW object. 157 157 TIMER* pMPUTimer = 158 new TIMER( 158 new TIMER(NULL, MIDI_TimerInterval, STREAM_MPU401_PLAY ); 159 159 if (pMPUTimer->eState() != TIMER_Disabled) 160 160 new MPU_401(pMPUTimer);
Note:
See TracChangeset
for help on using the changeset viewer.