[comp.sys.mac] MacRISK Patch

lsr@apple.UUCP (Larry Rosenstein) (02/17/88)

In article <1405@csib.csi.UUCP> jwhitnel@csib.UUCP (Jerry Whitnell) writes:
>
>Doesn't work so well on the Mac II.  The problem is they change the 
>value returned by GetWMgrPort (used to return a WindowPtr, on the MAC II
>it returns a CWindowPtr).

Not true.  GetWmgrPort returns an old-style port on a Mac II.  The problem
is that on an Apple Video Card the rowBytes field is 128.  I think that Risk
is trying to compute the number of bytes on the screen and assuming that it
won't be more than 32K, which isn't true in this case.

Also, since Risk isn't compatible with color, then it doesn't matter which
patch you apply.  It is saving the bits into an offscreen black & white
buffer, which only has to be 1 bit deep.

-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc}!apple!lsr
CSNET: lsr@Apple.com