1 |
|
/* |
2 |
|
* gfxaccel.cpp - Generic Native QuickDraw acceleration |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2004 Marc Hellwig and Christian Bauer |
4 |
> |
* SheepShaver (C) 1997-2005 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 |
413 |
|
WriteMacInt32(base + 0, NativeTVECT(NATIVE_BITBLT_HOOK)); |
414 |
|
WriteMacInt32(base + 4, NativeTVECT(NATIVE_SYNC_HOOK)); |
415 |
|
WriteMacInt32(base + 8, ACCL_BITBLT); |
416 |
< |
NQDMisc(6, bitblt_hook_info.ptr()); |
416 |
> |
NQDMisc(6, bitblt_hook_info.addr()); |
417 |
|
|
418 |
|
SheepVar fillrect_hook_info(sizeof(accl_hook_info)); |
419 |
|
base = fillrect_hook_info.addr(); |
420 |
|
WriteMacInt32(base + 0, NativeTVECT(NATIVE_FILLRECT_HOOK)); |
421 |
|
WriteMacInt32(base + 4, NativeTVECT(NATIVE_SYNC_HOOK)); |
422 |
|
WriteMacInt32(base + 8, ACCL_FILLRECT); |
423 |
< |
NQDMisc(6, fillrect_hook_info.ptr()); |
423 |
> |
NQDMisc(6, fillrect_hook_info.addr()); |
424 |
|
} |
425 |
|
} |