fix(keyboard): recover original cursor query evaluation order #1018
Reference in New Issue
Block a user
Delete Branch "agent/bittle/cursor-query-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reconstruction
Use explicit cursor-Y and font-height locals for two onCursor expressions, preserving the original query order and floating-point operand order.
Independent evidence
Original DOL function base 0x8141FD14: calls at +0x334 and +0x5C0 target GetCursorY (0x8151813C); +0x340 and +0x5CC target GetFontHeight (0x81517EE8). The previous compiled source reverses each pair despite a 100% instruction score.
Parent independently verified:
This is a source-correctness fix, not a percentage gain. No header/configuration/linking changes.
Base:
e9c8986139Tested tree:
6d39706c95DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.