ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/video.cpp
(Generate patch)

Comparing SheepShaver/src/video.cpp (file contents):
Revision 1.1.1.1 by cebix, 2002-02-04T16:58:13Z vs.
Revision 1.4 by gbeauche, 2003-12-04T17:26:35Z

# Line 35 | Line 35
35   #include "macos_util.h"
36   #include "user_strings.h"
37   #include "version.h"
38 + #include "thunks.h"
39  
40   #define DEBUG 0
41   #include "debug.h"
# Line 167 | Line 168 | static int16 VideoOpen(uint32 pb, VidLoc
168          set_gamma(csSave, 0);
169  
170          // Install and activate interrupt service
171 <        csSave->vslServiceID = 0;
172 <        VSLNewInterruptService(csSave->regEntryID, FOURCC('v','b','l',' '), &(csSave->vslServiceID));
171 >        SheepVar32 theServiceID = 0;
172 >        VSLNewInterruptService(csSave->regEntryID, FOURCC('v','b','l',' '), (uint32 *)theServiceID.addr());
173 >        csSave->vslServiceID = theServiceID.value();
174          D(bug(" Interrupt ServiceID %08lx\n", csSave->vslServiceID));
175          csSave->interruptsEnabled = true;
176  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines