loader: vbe_find_mode_xydm() is using wrong safety and iteration is buggy
We are using iterate count max mode # (0x1ff) - min vbe mode (0x100) + 1 = 0x100.
If depth is unspecified, we walk down from 32 to 8, but fail to restart from initial farptr and zero safety counter for new depth.
Testing done: tested on system which only does provide 8-bit depth and failed to pick the mode before.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit d20422bd742384b77102bb3bd09e0dc4b7372e50 Author: Toomas Soome <email@example.com> Date: 2020-12-29T19:52:58.000Z 13351 loader: vbe_find_mode_xydm() is using wrong safety and iteration is buggy Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>