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