forked from Hay1tsme/segatools
Add bounds checking for D3D9 adapter number #29
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Dniel97/segatools#29
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Bottersnike/segatools:fix/adapter_range"
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?
Currently, an invalid
[gfx] monitor=...
value will crash. This patch applies bounds checking.As
adapter
is an unsigned integer,gfx_config.monitor
being negative will still cause it to be larger thanmax_adaptor
and hit the bounds check.Thanks for the PR! That is a nice quality of life improvmenet and will be merged!