Fix issues with H-Bias rendering #1

Merged
GuyPerfect merged 1 commits from hbias-fix into main 2025-08-17 18:22:53 +00:00

Fix two bugs with H-Bias rendering:

  • Increment h-bias parameter offset by 4 instead of 2 for each row drawn (the offset is in bytes, there are 4 bytes per row's hbias data)
  • Subtract HBias parameters from mx instead of adding them. The math works out.

Tested this on the title screen of Golf to confirm it was correct

Fix two bugs with H-Bias rendering: - Increment h-bias parameter offset by 4 instead of 2 for each row drawn (the offset is in bytes, there are 4 bytes per row's hbias data) - Subtract HBias parameters from `mx` instead of adding them. The math works out. Tested this on the title screen of Golf to confirm it was correct
SonicSwordcane added 1 commit 2025-08-15 03:54:38 +00:00
GuyPerfect merged commit ab29f47004 into main 2025-08-17 18:22:53 +00:00
SonicSwordcane deleted branch hbias-fix 2025-08-17 19:16:55 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PVB/shrooms-vb-core#1
No description provided.