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" |
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 |
|
|