ToadKing/ddhack — comment on commit b9e76e8ebc28aacd5bdfb8a298e59dc4d4d0409b
File:  line 0
By ToadKing:

Those values could also be added. I should probably prune that list to only include the most commonly used resolutions in DirectDraw apps instead of just grabbing a list from my video card. This hack can (in theory) allow any arbitrary resolution, as long as the game can support it.