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 by cebix, 2002-02-04T16:58:13Z vs.
Revision 1.5 by cebix, 2004-01-12T15:37:19Z

# Line 1 | Line 1
1   /*
2   *  video.cpp - Video/graphics emulation
3   *
4 < *  SheepShaver (C) 1997-2002 Marc Hellwig and Christian Bauer
4 > *  SheepShaver (C) 1997-2004 Marc Hellwig and Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# 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