# | Line 167 | Line 167 | static int16 VideoOpen(uint32 pb, VidLoc | |
---|---|---|
167 | set_gamma(csSave, 0); | |
168 | ||
169 | // Install and activate interrupt service | |
170 | < | csSave->vslServiceID = 0; |
171 | < | VSLNewInterruptService(csSave->regEntryID, FOURCC('v','b','l',' '), &(csSave->vslServiceID)); |
170 | > | uint32 theServiceID = 0; |
171 | > | VSLNewInterruptService(csSave->regEntryID, FOURCC('v','b','l',' '), &theServiceID); |
172 | > | csSave->vslServiceID = ntohl(theServiceID); |
173 | D(bug(" Interrupt ServiceID %08lx\n", csSave->vslServiceID)); | |
174 | csSave->interruptsEnabled = true; | |
175 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |