See this comment: https://github.com/vxgmichel/gambatte-terminal/pull/23#issuecomment-4175031432 Proper implementation by @jquast here: https://github.com/jquast/gambatte-terminal/blob/ea00aa740b41500ca3c627892ea1143cc97ceab7/termblit_ext/blitcommon.pxi#L28-L154
See this comment: #23 (comment)
Proper implementation by @jquast here:
https://github.com/jquast/gambatte-terminal/blob/ea00aa740b41500ca3c627892ea1143cc97ceab7/termblit_ext/blitcommon.pxi#L28-L154