0 Members and 1 Guest are viewing this topic.
It would be better use SetPatch() to patch this library vector to save D2 before calling original function and restore D2 on return. However, developers knowing said function clobbers D2 can work around it without resorting to tricks (IIRC the result is D2 = D2 + width).Anyway, CGX is not abandonded, it is part of MorphOS, and the latest update was just few weeks ago. It is copyrighted stuff and Cosmos has no right to release "new" CGX4 versions.